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

Safe HaskellNone

IHaskell.Flags

Synopsis

Documentation

data Argument Source

Constructors

ServeFrom String

Which directory to serve notebooks from.

Extension String

An extension to load at startup.

ConfFile String

A file with commands to load at startup.

IPythonFrom String

Which executable to use for IPython.

OverwriteFiles

Present when output should overwrite existing files.

ConvertFrom String 
ConvertTo String 
ConvertFromFormat NotebookFormat 
ConvertToFormat NotebookFormat 
ConvertLhsStyle (LhsStyle String) 
Help

Display help text.

Instances

data Args Source

Constructors

Args IHaskellMode [Argument] 

Instances

data LhsStyle string Source

Constructors

LhsStyle 

Fields

lhsCodePrefix :: string
>
lhsOutputPrefix :: string
<<
lhsBeginCode :: string
\begin{code}
lhsEndCode :: string
\end{code}
lhsBeginOutput :: string
\begin{verbatim}
lhsEndOutput :: string
\end{verbatim}

Instances

Functor LhsStyle 
Eq string => Eq (LhsStyle string) 
Show string => Show (LhsStyle string) 

parseFlags :: [String] -> Either String ArgsSource

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

help :: IHaskellMode -> StringSource

Get help text for a given IHaskell ode.