idris-1.0: Functional Programming Language with Dependent Types

CopyrightLicense : BSD3
MaintainerThe Idris Community.
Safe HaskellNone
LanguageHaskell98

Idris.Core.Typecheck

Description

 

Documentation

convertsC :: Context -> Env -> Term -> Term -> StateT UCs TC () #

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

isHole :: (t2, t1, Binder t) -> Bool #

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

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

recheck :: String -> Context -> Env -> Raw -> Term -> TC (Term, Type, UCs) #

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

check :: Context -> Env -> Raw -> TC (Term, Type) #

data UniqueUse #

Constructors

Never 
Once 
LendOnly 
Many 

Instances

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