| Copyright | (c) 2016 Finn Teegen |
|---|---|
| License | BSD-3-clause |
| Maintainer | bjp@informatik.uni-kiel.de |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Base.KindSubst
Description
This module implements substitutions on kinds.
Synopsis
- class SubstKind a where
- type KindSubst = Subst Int Kind
- bindVar :: Int -> Kind -> KindSubst -> KindSubst
- substVar :: KindSubst -> Int -> Kind
- idSubst :: Subst a b
- singleSubst :: Ord v => v -> e -> Subst v e
- bindSubst :: Ord v => v -> e -> Subst v e -> Subst v e
- compose :: Ord v => Subst v e -> Subst v e -> Subst v e
Documentation
singleSubst :: Ord v => v -> e -> Subst v e Source #
Create a substitution for a single replacement