thih-1.0: Typing Haskell In Haskell
Subst
type Subst = [(Tyvar, Type)]Source
nullSubst :: SubstSource
(+->) :: Tyvar -> Type -> SubstSource
class Types t whereSource
Methods
apply :: Subst -> t -> tSource
tv :: t -> [Tyvar]Source
Instances
(@@) :: Subst -> Subst -> SubstSource
merge :: Monad m => Subst -> Subst -> m SubstSource