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