idris-1.3.4: Functional Programming Language with Dependent Types
LicenseBSD3
MaintainerThe Idris Community.
Safe HaskellNone
LanguageHaskell2010

Idris.Core.Typecheck

Description

 

Documentation

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

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

isHole :: (a, b1, Binder b2) -> Bool #

errEnv :: [(a, b1, Binder b2)] -> [(a, b2)] #

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

Instances details
Eq UniqueUse # 
Instance details

Defined in Idris.Core.Typecheck

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