Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data IHaskellMode
- data Argument
- = ConfFile String
- | OverwriteFiles
- | GhcLibDir String
- | RTSFlags [String]
- | KernelDebug
- | KernelName String
- | DisplayName String
- | Help
- | Version
- | CodeMirror String
- | HtmlCodeWrapperClass String
- | HtmlCodeTokenPrefix 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. |
KernelName String | The IPython kernel directory name. |
DisplayName String | The IPython display name. |
Help | Display help text. |
Version | Display version text. |
CodeMirror String | change codemirror mode (default=ihaskell) |
HtmlCodeWrapperClass String | set the wrapper class for HTML output |
HtmlCodeTokenPrefix String | set a prefix on each token of HTML output |
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.