HORIZON HASKELLDocslts/ghc-9.14.xd82dee82026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

Moduleplutus-core-1.70.0.0

PlutusCore.Annotation

  • 8 types
  • 2 classes
  • 2 values
newtypenewtype Pos
#

Pos is the type for positive integers. This is used to represent line number, column number, and similar things like indentation level. The Semigroup instance can be used to safely and efficiently add Poses together.

Instances9Eq, Data, Ord, Read, Show, Generic, …
datadata SourcePos
#

The data type SourcePos represents source positions. It contains the name of the source file, a line number, and a column number. Source line and column positions change intensively during parsing, so we need to make them strict to avoid memory leaks.

Constructors

Instances9Eq, Data, Ord, Read, Show, Generic, …
datadata Ann
#
Instances10Eq, Ord, Show, Generic, Pretty, Hashable, …
datadata Case
#
Instances6Eq, Ord, Show, Generic, Hashable, Rep
  • Eq CaseDefined in plutus-core-1.70.0.0 · PlutusCore.Annotation
  • Ord CaseDefined in plutus-core-1.70.0.0 · PlutusCore.Annotation
  • Show CaseDefined in plutus-core-1.70.0.0 · PlutusCore.Annotation
  • Generic CaseDefined in plutus-core-1.70.0.0 · PlutusCore.Annotation
  • Hashable CaseDefined in plutus-core-1.70.0.0 · PlutusCore.Annotation
  • type Rep Case = D1 ('MetaData "Case" "PlutusCore.Annotation" "plutus-core-1.70.0.0-AjXwyzfmVfT8tKfEB70hFt" 'False) (C1 ('MetaCons "SafeToDrop" 'PrefixI 'False) U1 :+: C1 ('MetaCons "NotSafeToDrop" 'PrefixI 'False) U1)Defined in plutus-core-1.70.0.0 · PlutusCore.Annotation
datadata Inline
#
Instances6Eq, Ord, Show, Generic, Hashable, Rep
datadata SrcSpan
#
Instances10Eq, Ord, Show, Generic, NFData, Pretty, …
newtypenewtype SrcSpans
#
Instances13Eq, Ord, Show, Generic, Semigroup, Monoid, …