idris-0.99.2: Functional Programming Language with Dependent Types
Idris.Transforms
Description
Synopsis
transformPats :: IState -> [Either Term (Term, Term)] -> [Either Term (Term, Term)] Source #
transformPatsWith :: [(Term, Term)] -> [Either Term (Term, Term)] -> [Either Term (Term, Term)] Source #
applyTransRulesWith :: [(Term, Term)] -> Term -> Term Source #
Work on explicitly named terms, so we don't have to manipulate de Bruijn indices
applyTransRules :: IState -> Term -> Term Source #