Safe Haskell | None |
---|---|
Language | Haskell2010 |
Capture-free substitution function for CoreHW
- substTys :: [(TyName, Type)] -> Type -> Type
- substTy :: TyName -> Type -> Type -> Type
- substKindWith :: [(KiName, Kind)] -> Kind -> Kind
- substTyInTm :: TyName -> Type -> Term -> Term
- substTysinTm :: [(TyName, Type)] -> Term -> Term
- substTm :: TmName -> Term -> Term -> Term
- substTms :: [(TmName, Term)] -> Term -> Term