Module AST.SpanAST

Summary of exported operations:

Exported datatypes:


Module

Constructors:


ModulePragma

Constructors:

  • LanguagePragma :: Span -> [Extension] -> [Span] -> Span -> ModulePragma
  • OptionsPragma :: Span -> (Maybe String) -> String -> Span -> ModulePragma

Extension

Constructors:


ExportSpec

Constructors:


Export

Constructors:


ImportDecl

Constructors:


Qualified

Type synonym: Qualified = Bool


ImportSpec

Constructors:


Import

Constructors:


Decl

Constructors:


Precedence

Type synonym: Precedence = (Span,Int)


Infix

Constructors:

  • InfixL :: Span -> Infix
  • InfixR :: Span -> Infix
  • Infix :: Span -> Infix

ConstrDecl

Constructors:


NewConstrDecl

Constructors:


FieldDecl

Constructors:


CallConv

Constructors:

  • CallConvPrimitive :: Span -> CallConv
  • CallConvCCall :: Span -> CallConv

TypeExpr

Constructors:


QualTypeExpr

Constructors:


Context

Constructors:


Constraint

Constructors:


InstanceType

Type synonym: InstanceType = TypeExpr


Equation

Constructors:

  • Equation :: Lhs -> Rhs -> Equation

Lhs

Constructors:


Rhs

Constructors:


CondExpr

Constructors:


Literal

Constructors:

  • Char :: Span -> Char -> Literal
  • Int :: Span -> Int -> Literal
  • Float :: Span -> Float -> Literal
  • String :: Span -> String -> Literal

Pattern

Constructors:


Expression

Constructors:


InfixOp

Constructors:


Statement

Constructors:


CaseType

Constructors:

  • Rigid :: CaseType
  • Flex :: CaseType

Alt

Constructors:


Field

Constructors:


Exported operations: