idris-0.10.1: Functional Programming Language with Dependent Types

Safe HaskellNone
LanguageHaskell98

Idris.Elab.Value

Synopsis

Documentation

elabValBind :: ElabInfo -> ElabMode -> Bool -> PTerm -> Idris (Term, Type, [(Name, Type)]) Source

Elaborate a value, returning any new bindings created (this will only happen if elaborating as a pattern clause)

elabExec :: FC -> PTerm -> PTerm Source

Try running the term directly (as IO ()), then printing it as an Integer (as a default numeric tye), then printing it as any Showable thing