ihaskell-0.10.3.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.

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 

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.