idris-0.9.15: Functional Programming Language with Dependent Types

Safe HaskellNone

Idris.Core.Typecheck

Documentation

converts :: Context -> Env -> Term -> Term -> TC ()Source

isHole :: (t, Binder t1) -> BoolSource

errEnv :: [(t, Binder t1)] -> [(t, t1)]Source

isType :: Context -> Env -> Term -> TC ()Source

recheck_borrowing :: Bool -> [Name] -> Context -> Env -> Raw -> Term -> TC (Term, Type, UCs)Source

check' :: Bool -> Context -> Env -> Raw -> StateT UCs TC (Term, Type)Source

data UniqueUse Source

Constructors

Never 
Once 
LendOnly 
Many 

Instances

checkUnique :: [Name] -> Context -> Env -> Term -> TC ()Source