idris-1.3.2: Functional Programming Language with Dependent Types
Idris.Core.Typecheck
Description
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 :: Context -> Env -> Raw -> TC (Term, Type) Source #
check' :: Bool -> String -> Context -> Env -> Raw -> StateT UCs TC (Term, Type) Source #
data UniqueUse Source #
Constructors
Defined in Idris.Core.Typecheck
Methods
(==) :: UniqueUse -> UniqueUse -> Bool #
(/=) :: UniqueUse -> UniqueUse -> Bool #
checkUnique :: [Name] -> Context -> Env -> Term -> TC () Source #