| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
DDC.Source.Tetra.Exp.Annot
Contents
- module DDC.Source.Tetra.Exp.Generic
- data Annot a
- class HasAnonBind l where
- data Name
- type Bound = Bound Name
- type Bind = Bind Name
- type Exp a = GExp (Annot a)
- type Lets a = GLets (Annot a)
- type Alt a = GAlt (Annot a)
- type Pat a = GPat (Annot a)
- type Clause a = GClause (Annot a)
- type GuardedExp a = GGuardedExp (Annot a)
- type Guard a = GGuard (Annot a)
- type Cast a = GCast (Annot a)
- data DaCon n :: * -> *
- type Witness a = GWitness (Annot a)
- type WiCon a = GWiCon (Annot a)
Documentation
module DDC.Source.Tetra.Exp.Generic
Type index for annotated expression type.
class HasAnonBind l where Source
Instances
| HasAnonBind (Annot a) Source |
Expressions
Names of things used in Disciple Source Tetra.
type GuardedExp a = GGuardedExp (Annot a) Source
data DaCon n :: * -> *
Data constructors.
Constructors
| DaConUnit | Baked in unit data constructor. |
| DaConPrim | Primitive data constructor used for literals and baked-in constructors. The type of the constructor needs to be attached to handle the case where there are too many constructors in the data type to list, like for Int literals. In this case we determine what data type it belongs to from the attached type of the data constructor. |
| DaConBound | Data constructor that has a data type declaration. |
Fields
| |