| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Twee.Term
Contents
Documentation
class Substitution f s | s -> f where Source #
Minimal complete definition
Instances
| Substitution f (TriangleSubst f) Source # | |
| Substitution f (Subst f) Source # | |
| (Build f a, (~) * v Var) => Substitution f (v -> a) Source # | |
substCompose :: Substitution f s => Subst f -> s -> Subst f Source #
idempotent :: Subst f -> Bool Source #
close :: TriangleSubst f -> Subst f Source #
canonicalise :: [TermList f] -> Subst f Source #
emptySubst :: Subst f Source #
newtype TriangleSubst f Source #
Constructors
| Triangle | |
Fields
| |
Instances
| Substitution f (TriangleSubst f) Source # | |
| Show (TriangleSubst f) Source # | |
unifyListTri :: TermList f -> TermList f -> Maybe (TriangleSubst f) Source #
fromTermList :: TermList f -> [Term f] Source #
termListToList :: TermList f -> [Term f] Source #
emptyTermList :: TermList f Source #
subtermsList :: TermList f -> [Term f] Source #
properSubtermsList :: TermList f -> [Term f] Source #
properSubterms :: Term f -> [Term f] Source #