Copyright | License : BSD3 |
---|---|
Maintainer | The Idris Community. |
Safe Haskell | None |
Language | Haskell2010 |
- data Opt
- = Filename String
- | Quiet
- | NoBanner
- | ColourREPL Bool
- | Idemode
- | IdemodeSocket
- | IndentWith Int
- | IndentClause Int
- | ShowAll
- | ShowLibs
- | ShowLibDir
- | ShowDocDir
- | ShowIncs
- | ShowPkgs
- | ShowLoggingCats
- | NoBasePkgs
- | NoPrelude
- | NoBuiltins
- | NoREPL
- | OLogging Int
- | OLogCats [LogCat]
- | Output String
- | Interface
- | TypeCase
- | TypeInType
- | DefaultTotal
- | DefaultPartial
- | WarnPartial
- | WarnReach
- | AuditIPkg
- | EvalTypes
- | NoCoverage
- | ErrContext
- | ShowImpl
- | Verbose Int
- | Port REPLPort
- | IBCSubDir String
- | ImportDir String
- | SourceDir String
- | PkgBuild String
- | PkgInstall String
- | PkgClean String
- | PkgCheck String
- | PkgREPL String
- | PkgDocBuild String
- | PkgDocInstall String
- | PkgTest String
- | PkgIndex FilePath
- | WarnOnly
- | Pkg String
- | BCAsm String
- | DumpDefun String
- | DumpCases String
- | UseCodegen Codegen
- | CodegenArgs String
- | OutputTy OutputType
- | Extension LanguageExt
- | InterpretScript String
- | EvalExpr String
- | TargetTriple String
- | TargetCPU String
- | OptLevel Int
- | AddOpt Optimisation
- | RemoveOpt Optimisation
- | Client String
- | ShowOrigErr
- | AutoWidth
- | AutoSolve
- | UseConsoleWidth ConsoleWidth
- | DumpHighlights
- | DesugarNats
- | NoElimDeprecationWarnings
- | NoOldTacticDeprecationWarnings
- data REPLPort
- data Codegen
- data LanguageExt
- data IRFormat
- data ConsoleWidth
- data HowMuchDocs
- data OutputFmt
- data Optimisation = PETransform
- data LogCat
- strLogCat :: LogCat -> String
- codegenCats :: [LogCat]
- parserCats :: [LogCat]
- elabCats :: [LogCat]
- loggingCatsStr :: String
- getFile :: Opt -> Maybe String
- getBC :: Opt -> Maybe String
- getOutput :: Opt -> Maybe String
- getIBCSubDir :: Opt -> Maybe String
- getImportDir :: Opt -> Maybe String
- getSourceDir :: Opt -> Maybe String
- getPkgDir :: Opt -> Maybe String
- getPkg :: Opt -> Maybe (Bool, String)
- getPkgClean :: Opt -> Maybe String
- getPkgREPL :: Opt -> Maybe String
- getPkgCheck :: Opt -> Maybe String
- getPkgMkDoc :: Opt -> Maybe (Bool, String)
- getPkgTest :: Opt -> Maybe String
- getCodegen :: Opt -> Maybe Codegen
- getCodegenArgs :: Opt -> Maybe String
- getConsoleWidth :: Opt -> Maybe ConsoleWidth
- getExecScript :: Opt -> Maybe String
- getPkgIndex :: Opt -> Maybe FilePath
- getEvalExpr :: Opt -> Maybe String
- getOutputTy :: Opt -> Maybe OutputType
- getLanguageExt :: Opt -> Maybe LanguageExt
- getTriple :: Opt -> Maybe String
- getCPU :: Opt -> Maybe String
- getOptLevel :: Opt -> Maybe Int
- getOptimisation :: Opt -> Maybe (Bool, Optimisation)
- getColour :: Opt -> Maybe Bool
- getClient :: Opt -> Maybe String
- getPort :: [Opt] -> Maybe REPLPort
- opt :: (Opt -> Maybe a) -> [Opt] -> [a]
Documentation
data LanguageExt Source #
data ConsoleWidth Source #
How wide is the console?
InfinitelyWide | Have pretty-printer assume that lines should not be broken |
ColsWide Int | Manually specified - must be positive |
AutomaticWidth | Attempt to determine width, or 80 otherwise |
data Optimisation Source #
PETransform | partial eval and associated transforms |
Recognised logging categories for the Idris compiler.
@TODO add in sub categories.
codegenCats :: [LogCat] Source #
parserCats :: [LogCat] Source #
Returns None if given an Opt which is not PkgMkDoc Otherwise returns Just x, where x is the contents of PkgMkDoc
getConsoleWidth :: Opt -> Maybe ConsoleWidth Source #
getOutputTy :: Opt -> Maybe OutputType Source #
getLanguageExt :: Opt -> Maybe LanguageExt Source #
getOptimisation :: Opt -> Maybe (Bool, Optimisation) Source #