ihaskell-0.11.0.0: A Haskell backend kernel for the Jupyter project.
Safe HaskellSafe-Inferred
LanguageHaskell2010

IHaskell.Flags

Synopsis

Documentation

data IHaskellMode Source #

Instances

Instances details
Show IHaskellMode Source # 
Instance details

Defined in IHaskell.Flags

Eq IHaskellMode Source # 
Instance details

Defined in IHaskell.Flags

data Argument Source #

Constructors

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 

Instances

Instances details
Show Argument Source # 
Instance details

Defined in IHaskell.Flags

Eq Argument Source # 
Instance details

Defined in IHaskell.Flags

data Args Source #

Constructors

Args IHaskellMode [Argument] 

Instances

Instances details
Show Args Source # 
Instance details

Defined in IHaskell.Flags

Methods

showsPrec :: Int -> Args -> ShowS #

show :: Args -> String #

showList :: [Args] -> ShowS #

data LhsStyle string Source #

Constructors

LhsStyle 

Fields

Instances

Instances details
Functor LhsStyle Source # 
Instance details

Defined in IHaskell.Flags

Methods

fmap :: (a -> b) -> LhsStyle a -> LhsStyle b #

(<$) :: a -> LhsStyle b -> LhsStyle a #

Show string => Show (LhsStyle string) Source # 
Instance details

Defined in IHaskell.Flags

Methods

showsPrec :: Int -> LhsStyle string -> ShowS #

show :: LhsStyle string -> String #

showList :: [LhsStyle string] -> ShowS #

Eq string => Eq (LhsStyle string) Source # 
Instance details

Defined in IHaskell.Flags

Methods

(==) :: LhsStyle string -> LhsStyle string -> Bool #

(/=) :: LhsStyle string -> LhsStyle string -> Bool #

data NotebookFormat Source #

Constructors

LhsMarkdown 
IpynbFile 

Instances

Instances details
Show NotebookFormat Source # 
Instance details

Defined in IHaskell.Flags

Eq NotebookFormat Source # 
Instance details

Defined in IHaskell.Flags

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.