Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Tip.Haskell.Repr
Description
A representation of Haskell programs
Documentation
Constructors
TySig a [Type a] (Type a) | |
FunDecl a [([Pat a], Expr a)] | |
DataDecl a [a] [(a, [Type a])] [a] | |
InstDecl [Type a] (Type a) [Decl a] | |
ClassDecl [Type a] (Type a) [Decl a] | |
TypeDef (Type a) (Type a) | |
(Decl a) `Where` [Decl a] | |
TH (Expr a) | |
Module String | |
LANGUAGE String | |
QualImport String (Maybe String) |
Constructors
Apply a [Expr a] | |
ImpVar a | |
Do [Stmt a] (Expr a) | |
Lam [Pat a] (Expr a) | |
Let a (Expr a) (Expr a) | |
ImpLet a (Expr a) (Expr a) | |
List [Expr a] | |
Tup [Expr a] | |
String a | |
Noop | |
Case (Expr a) [(Pat a, Expr a)] | return () |
Int Integer | |
QuoteTyCon a | |
QuoteName a | |
THSplice (Expr a) | |
Record (Expr a) [(a, Expr a)] | |
(Expr a) ::: (Type a) |
nestedTyTup :: [Type a] -> Type a Source
nestedTupPat :: [Pat a] -> Pat a Source