idris-0.9.14.3: Functional Programming Language with Dependent Types

Safe HaskellNone
LanguageHaskell98

Idris.Elab.Utils

Synopsis

Documentation

checkDocs :: FC -> [(Name, Docstring)] -> PTerm -> Idris () Source

Check a PTerm against documentation and ensure that every documented argument actually exists. This must be run _after_ implicits have been found, or it will give spurious errors.

pbty :: TT n -> TT n -> TT n Source

getPBtys :: TT t -> [(t, TT t)] Source

psolve :: TT t -> StateT (ElabState aux) TC () Source

getFixedInType :: IState -> [Name] -> [PArg' t] -> TT Name -> [Name] Source

paramNames :: Eq t => [TT t] -> [t] -> [Int] -> [t] Source