idris-1.3.4: Functional Programming Language with Dependent Types
LicenseBSD3
MaintainerThe Idris Community.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Idris.Transforms

Description

 
Synopsis

Documentation

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 #

Work on explicitly named terms, so we don't have to manipulate de Bruijn indices