Safe Haskell | None |
---|
- data Type
- data Tyvar = Tyvar {}
- tyvar :: Name -> Kind -> Tyvar
- data Tycon = Tycon {}
- fn :: Type -> Type -> Type
- data Pred
- data Qual t = [Pred] :=> t
- type Class = Name
- tForAll :: [Tyvar] -> Qual Type -> Type
- tExists :: [Tyvar] -> Qual Type -> Type
- data MetaVarType
- prettyPrintType :: DocLike d => Type -> d
- fromTAp :: Type -> (Type, [Type])
- fromTArrow :: Type -> ([Type], Type)
- tassocToAp :: Type -> Type
- data MetaVar = MetaVar {}
- tTTuple :: [Type] -> Type
- tTTuple' :: [Type] -> Type
- tList :: Type
- tArrow :: Type
- tAp :: Type -> Type -> Type
Documentation
data MetaVarType Source
prettyPrintType :: DocLike d => Type -> dSource
fromTArrow :: Type -> ([Type], Type)Source
tassocToAp :: Type -> TypeSource
metavars are used in type checking
The (->)
type constructor. Invariant: tArrow
shall not be fully applied. To this end, see tAp
.