Safe Haskell | None |
---|
- setupIPython :: WhichIPython -> IO ()
- runConsole :: WhichIPython -> InitInfo -> IO ()
- runNotebook :: WhichIPython -> InitInfo -> Maybe String -> IO ()
- readInitInfo :: IO InitInfo
- defaultConfFile :: IO (Maybe String)
- getIHaskellDir :: IO String
- getSandboxPackageConf :: IO (Maybe String)
- nbconvert :: WhichIPython -> ViewFormat -> String -> IO ()
- subHome :: String -> IO String
- data ViewFormat
- data WhichIPython
Documentation
setupIPython :: WhichIPython -> IO ()Source
Set up IPython properly.
runConsole :: WhichIPython -> InitInfo -> IO ()Source
runNotebook :: WhichIPython -> InitInfo -> Maybe String -> IO ()Source
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.
DefaultIPython | Use the one that IHaskell tries to install. |
ExplicitIPython String | Use the command-line flag provided one. |