ihaskell-0.9.0.3: A Haskell backend kernel for the IPython project.

Safe HaskellNone
LanguageHaskell2010

IHaskell.Flags

Synopsis

Documentation

data Argument #

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.

ConvertFrom String 
ConvertTo String 
ConvertFromFormat NotebookFormat 
ConvertToFormat NotebookFormat 
ConvertLhsStyle (LhsStyle String) 
KernelspecInstallPrefix String 
KernelspecUseStack 

data Args #

Constructors

Args IHaskellMode [Argument] 

Instances

Show Args # 

Methods

showsPrec :: Int -> Args -> ShowS #

show :: Args -> String #

showList :: [Args] -> ShowS #

data LhsStyle string #

Constructors

LhsStyle 

Fields

Instances

Functor LhsStyle # 

Methods

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

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

Eq string => Eq (LhsStyle string) # 

Methods

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

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

Show string => Show (LhsStyle string) # 

Methods

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

show :: LhsStyle string -> String #

showList :: [LhsStyle string] -> ShowS #

parseFlags :: [String] -> Either String Args #

Given a list of command-line arguments, return the IHaskell mode and arguments to process.

help :: IHaskellMode -> String #

Get help text for a given IHaskell ode.