| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.Haskell.Tools.AST.Kinds
Description
Representation of Haskell Kinds
- data KindConstraint dom stage = KindConstraint {
- _kindConstr :: Ann Kind dom stage
- data Kind dom stage
- = KindStar
- | KindUnbox
- | KindFn { }
- | KindParen {
- _kindParen :: Ann Kind dom stage
- | KindVar { }
- | KindApp {
- _kindAppFun :: Ann Kind dom stage
- _kindAppArg :: Ann Kind dom stage
- | KindList { }
- | KindPromoted {
- _kindPromoted :: Ann (Promoted Kind) dom stage
- data Promoted t dom stage
- = PromotedInt { }
- | PromotedString { }
- | PromotedCon {
- _promotedConName :: Ann Name dom stage
- | PromotedList {
- _promotedElements :: AnnList t dom stage
- | PromotedTuple {
- _promotedElements :: AnnList t dom stage
- | PromotedUnit
Documentation
data KindConstraint dom stage Source #
Kind constraint ( :: * -> * )
Constructors
| KindConstraint | |
Fields
| |
Instances
| type Rep (KindConstraint dom stage) Source # | |
Haskell kinds
Constructors
| KindStar |
|
| KindUnbox |
|
| KindFn |
|
| KindParen | A parenthesised kind |
Fields
| |
| KindVar | kind variable (using |
| KindApp | Kind application ( |
Fields
| |
| KindList | A list kind ( |
| KindPromoted | A promoted kind ( |
Fields
| |
data Promoted t dom stage Source #
Constructors
| PromotedInt | |
Fields | |
| PromotedString | |
Fields | |
| PromotedCon | |
Fields
| |
| PromotedList | |
Fields
| |
| PromotedTuple | |
Fields
| |
| PromotedUnit | |