Safe Haskell | None |
---|
- data ElabInfo = EInfo {}
- toplevel :: ElabInfo
- build :: IState -> ElabInfo -> Bool -> Name -> PTerm -> ElabD (Term, [(Name, (Int, Maybe Name, Type))], [PDecl])
- buildTC :: IState -> ElabInfo -> Bool -> Bool -> Name -> PTerm -> ElabD (Term, [(Name, (Int, Maybe Name, Type))], [PDecl])
- elab :: IState -> ElabInfo -> Bool -> Bool -> Name -> PTerm -> ElabD ()
- pruneAlt :: [PTerm] -> [PTerm]
- pruneByType :: Term -> Context -> [PTerm] -> [PTerm]
- findInstances :: IState -> Term -> [Name]
- trivial' :: IState -> ElabD ()
- proofSearch' :: IState -> Maybe Name -> Name -> [Name] -> ElabD ()
- resolveTC :: Int -> Name -> IState -> ElabD ()
- collectDeferred :: Maybe Name -> Term -> State [(Name, (Int, Maybe Name, Type))] Term
- runTac :: Bool -> IState -> PTactic -> ElabD ()
- reflm :: String -> Name
- reify :: IState -> Term -> ElabD PTactic
- reifyApp :: IState -> Name -> [Term] -> ElabD PTactic
- reifyTT :: Term -> ElabD Term
- reifyTTApp :: Name -> [Term] -> ElabD Term
- reifyRaw :: Term -> ElabD Raw
- reifyRawApp :: Name -> [Term] -> ElabD Raw
- reifyTTName :: Term -> ElabD Name
- reifyTTNameApp :: Name -> [Term] -> ElabD Name
- reifyTTNamespace :: Term -> ElabD [String]
- reifyTTNameType :: Term -> ElabD NameType
- reifyTTBinder :: (Term -> ElabD a) -> Name -> Term -> ElabD (Binder a)
- reifyTTBinderApp :: (Term -> ElabD a) -> Name -> [Term] -> ElabD (Binder a)
- reifyTTConst :: Term -> ElabD Const
- reifyTTConstApp :: Name -> Term -> ElabD Const
- reifyTTUExp :: Term -> ElabD UExp
- reflCall :: String -> [Raw] -> Raw
- reflect :: Term -> Raw
- reflectNameType :: NameType -> Raw
- reflectName :: Name -> Raw
- reflectBinder :: Binder Term -> Raw
- reflectConstant :: Const -> Raw
- reflectUExp :: UExp -> Raw
- reflectEnv :: Env -> Raw
- reflectErr :: Err -> Raw
- envTupleType :: Raw
- solveAll :: Elab' aux ()
- mkSpecialised :: IState -> FC -> Name -> [PTerm] -> PTerm -> ElabD PTerm
- mkSpecDecl :: IState -> Name -> [(PTerm, Bool)] -> PTerm -> ElabD PTerm
Documentation
build :: IState -> ElabInfo -> Bool -> Name -> PTerm -> ElabD (Term, [(Name, (Int, Maybe Name, Type))], [PDecl])Source
buildTC :: IState -> ElabInfo -> Bool -> Bool -> Name -> PTerm -> ElabD (Term, [(Name, (Int, Maybe Name, Type))], [PDecl])Source
findInstances :: IState -> Term -> [Name]Source
Prefix a name with the Reflection.Language namespace
reifyTTName :: Term -> ElabD NameSource
reifyTTNamespace :: Term -> ElabD [String]Source
reifyTTConst :: Term -> ElabD ConstSource
reifyTTUExp :: Term -> ElabD UExpSource
reflectNameType :: NameType -> RawSource
reflectName :: Name -> RawSource
reflectBinder :: Binder Term -> RawSource
reflectConstant :: Const -> RawSource
reflectUExp :: UExp -> RawSource
reflectEnv :: Env -> RawSource
Reflect the environment of a proof into a List (TTName, Binder TT)
reflectErr :: Err -> RawSource
Reflect an error into the internal datatype of Idris -- TODO