idris-0.9.16: Functional Programming Language with Dependent Types

Safe HaskellNone
LanguageHaskell98

Idris.IBC

Synopsis

Documentation

data IBCFile Source

loadIBC Source

Arguments

:: Bool

True = reexport, False = make everything private

-> FilePath 
-> Idris () 

loadPkgIndex :: String -> Idris () Source

Load an entire package from its index file

bencode :: Binary a => FilePath -> a -> IO () Source

process Source

Arguments

:: Bool

Reexporting

-> IBCFile 
-> FilePath 
-> Idris () 

pImps :: [(Name, [PArg])] -> Idris () Source

pStatics :: [(Name, [Bool])] -> Idris () Source

pDSLs :: [(Name, DSL)] -> Idris () Source

pPatdefs :: [(Name, ([([Name], Term, Term)], [PTerm]))] -> Idris () Source

pDefs :: Bool -> [Name] -> [(Name, Def)] -> Idris () Source

pAccess Source

Arguments

:: Bool

Reexporting?

-> [(Name, Accessibility)] 
-> Idris () 

pFlags :: [(Name, [FnOpt])] -> Idris () Source

pCG :: [(Name, CGInfo)] -> Idris () Source

pTrans :: [(Name, (Term, Term))] -> Idris () Source

pErrRev :: [(Term, Term)] -> Idris () Source

safeToEnum :: (Enum a, Bounded a, Integral int) => String -> int -> a Source