idris-1.0: 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 :: (t2, t1, Binder t) -> Bool Source #
errEnv :: [(t2, t, Binder t1)] -> [(t2, t1)] 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
Instances
Methods
(==) :: UniqueUse -> UniqueUse -> Bool #
(/=) :: UniqueUse -> UniqueUse -> Bool #
checkUnique :: [Name] -> Context -> Env -> Term -> TC () Source #