Copyright | (c) 2013-2016 Galois Inc. |
---|---|
License | BSD3 |
Maintainer | cryptol@galois.com |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
Synopsis
- type MGU = (Subst, [Prop])
- type Result a = Writer [UnificationError] a
- runResult :: Result a -> (a, [UnificationError])
- data UnificationError
- uniError :: UnificationError -> Result MGU
- emptyMGU :: MGU
- mgu :: Type -> Type -> Result MGU
- mguMany :: [Type] -> [Type] -> Result MGU
- bindVar :: TVar -> Type -> Result MGU