Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data IHaskellMode
- data Argument
- = ConfFile String
- | OverwriteFiles
- | GhcLibDir String
- | RTSFlags [String]
- | KernelDebug
- | Help
- | Version
- | CodeMirror String
- | ConvertFrom String
- | ConvertTo String
- | ConvertFromFormat NotebookFormat
- | ConvertToFormat NotebookFormat
- | ConvertLhsStyle (LhsStyle String)
- | KernelspecInstallPrefix String
- | KernelspecUseStack
- | KernelspecEnvFile FilePath
- data Args = Args IHaskellMode [Argument]
- data LhsStyle string = LhsStyle {
- lhsCodePrefix :: string
- lhsOutputPrefix :: string
- lhsBeginCode :: string
- lhsEndCode :: string
- lhsBeginOutput :: string
- lhsEndOutput :: string
- data NotebookFormat
- lhsStyleBird :: LhsStyle String
- parseFlags :: [String] -> Either String Args
- help :: IHaskellMode -> String
Documentation
data IHaskellMode Source #
Instances
Show IHaskellMode Source # | |
Defined in IHaskell.Flags showsPrec :: Int -> IHaskellMode -> ShowS # show :: IHaskellMode -> String # showList :: [IHaskellMode] -> ShowS # | |
Eq IHaskellMode Source # | |
Defined in IHaskell.Flags (==) :: IHaskellMode -> IHaskellMode -> Bool # (/=) :: IHaskellMode -> IHaskellMode -> Bool # |
ConfFile String | A file with commands to load at startup. |
OverwriteFiles | Present when output should overwrite existing files. |
GhcLibDir String | Where to find the GHC libraries. |
RTSFlags [String] | Options for the GHC runtime (e.g. heap-size limit or number of threads). |
KernelDebug | Spew debugging output from the kernel. |
Help | Display help text. |
Version | Display version text. |
CodeMirror String | change codemirror mode (default=ihaskell) |
ConvertFrom String | |
ConvertTo String | |
ConvertFromFormat NotebookFormat | |
ConvertToFormat NotebookFormat | |
ConvertLhsStyle (LhsStyle String) | |
KernelspecInstallPrefix String | |
KernelspecUseStack | |
KernelspecEnvFile FilePath |
LhsStyle | |
|
data NotebookFormat Source #
Instances
Show NotebookFormat Source # | |
Defined in IHaskell.Flags showsPrec :: Int -> NotebookFormat -> ShowS # show :: NotebookFormat -> String # showList :: [NotebookFormat] -> ShowS # | |
Eq NotebookFormat Source # | |
Defined in IHaskell.Flags (==) :: NotebookFormat -> NotebookFormat -> Bool # (/=) :: NotebookFormat -> NotebookFormat -> Bool # |
parseFlags :: [String] -> Either String Args Source #
Given a list of command-line arguments, return the IHaskell mode and arguments to process.
help :: IHaskellMode -> String Source #
Get help text for a given IHaskell ode.