Safe Haskell | None |
---|---|
Language | Haskell2010 |
IR.Constraint.Constrain.Annotation
Synopsis
- type RigidMap = Map TVarId Variable
- data State = State {}
- withAnnotations :: [Annotation] -> Type -> (Type -> TC Constraint) -> TC Constraint
- add :: Annotation -> TC (State, Type)
- addTypeWithHoles :: Type -> State -> TC (State, Type)
- emptyState :: State
Documentation
withAnnotations :: [Annotation] -> Type -> (Type -> TC Constraint) -> TC Constraint Source #
emptyState :: State Source #