| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Twee.Rule
Documentation
Constructors
| Rule | |
Fields
| |
data Orientation f Source #
Constructors
| Oriented | |
| WeaklyOriented [Term f] | |
| Permutative [(Term f, Term f)] | |
| Unoriented |
Instances
| Eq (Orientation f) Source # | |
| Ord (Orientation f) Source # | |
| Show (Orientation f) Source # | |
| Symbolic (Orientation f) Source # | |
| type ConstantOf (Orientation f) Source # | |
oriented :: Orientation f -> Bool Source #
pPrintRule :: (Numbered f, PrettyTerm f) => Term f -> Term f -> Doc Source #
type EquationOf a = Equation (ConstantOf a) Source #
pPrintReduction :: (Numbered f, PrettyTerm f) => Reduction f -> Doc Source #
anywhere1 :: (Numbered f, PrettyTerm f) => Strategy f -> Reduction f -> Maybe (Reduction f) Source #
normaliseWith :: (Numbered f, PrettyTerm f) => Strategy f -> Term f -> Reduction f Source #