idris-1.3.2: 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 () Source #

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

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

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

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

convType :: String -> Context -> Env -> Term -> StateT UCs TC () Source #

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

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

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

data UniqueUse Source #

Constructors

Never 
Once 
LendOnly 
Many 
Instances
Eq UniqueUse Source # 
Instance details

Defined in Idris.Core.Typecheck

Methods

(==) :: UniqueUse -> UniqueUse -> Bool

(/=) :: UniqueUse -> UniqueUse -> Bool

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