Safe Haskell | None |
---|---|
Language | Haskell2010 |
IR.Constraint.Constrain.Pattern
Synopsis
- type Header = Map Identifier Type
- data State = State {}
- add :: Alt Attachment -> Type -> State -> TC State
- emptyState :: State
- addBinder :: Binder Attachment -> Type -> State -> TC State
- addToHeaders :: Identifier -> Type -> State -> State
- addData :: TConId -> [TVarId] -> DConId -> [Type] -> [Alt Attachment] -> Type -> State -> TC State
- addDataArg :: Map TVarId Type -> Type -> Alt Attachment -> State -> TC State
- addLit :: Literal -> Type -> State -> State