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

Safe HaskellNone

IHaskell.IPython

Description

 

Synopsis

Documentation

setupIPython :: WhichIPython -> IO ()Source

Set up IPython properly.

nbconvert :: WhichIPython -> ViewFormat -> String -> IO ()Source

Find a notebook and then convert it into the provided format. Notebooks are searched in the current directory as well as the IHaskell notebook directory (in that order).

subHome :: String -> IO StringSource

Replace ~ with $HOME if $HOME is defined. Otherwise, do nothing.

data WhichIPython Source

Which IPython to use.

Constructors

DefaultIPython

Use the one that IHaskell tries to install.

ExplicitIPython String

Use the command-line flag provided one.

Instances