Safe Haskell | None |
---|---|
Language | Haskell2010 |
Rule
Documentation
data RuleContext Source #
Constructors
RuleContext | |
Fields |
isNF :: Expression -> RuleContext -> Bool Source #
meetCondition' :: Condition -> Subst -> RuleContext -> IO [Subst] Source #
meetCondition :: Condition -> [Subst] -> RuleContext -> IO [Subst] Source #
meetMaybeCondition :: Maybe Condition -> [Subst] -> RuleContext -> IO [Subst] Source #
extraSubstitutions :: [Subst] -> Maybe [Extra] -> RuleContext -> IO [Subst] Source #
matchProgramWithRule :: Program -> Rule -> RuleContext -> IO [Subst] Source #