termlib-0.9: Term Rewriting Library

Safe HaskellSafe-Infered

Termlib.Trs

Documentation

data RuleSet a

Constructors

Trs 

Fields

ruleSet :: Set a
 

rules :: Trs -> [Rule]

invert :: Trs -> Trs

lhss :: Trs -> [Term]

rhss :: Trs -> [Term]

append :: Trs -> Trs -> Trs

union :: Trs -> Trs -> Trs

unions :: [Trs] -> Trs

intersect :: Trs -> Trs -> Trs

member :: Trs -> Rule -> Bool

(\\) :: Trs -> Trs -> Trs

toRules :: Trs -> [Rule]

mapRules :: (Rule -> Rule) -> Trs -> Trs

mapTerms :: (Term -> Term) -> Trs -> Trs

filterRules :: (Rule -> Bool) -> Trs -> Trs

insert :: Rule -> Trs -> Trs