idris-0.9.12: Functional Programming Language with Dependent Types

Safe HaskellNone

Idris.Providers

Synopsis

Documentation

providerTy :: FC -> PTerm -> PTermSource

Wrap a type provider in the type of type providers

getProvided :: FC -> TT Name -> Idris (Provided (TT Name))Source

Handle an error, if the type provider returned an error. Otherwise return the provided term.

data Provided a Source

Constructors

Provide a 
Postulate 

Instances

Functor Provided 
Eq a => Eq (Provided a) 
Show a => Show (Provided a)