ghcid-0.4.1: GHCi based bare bones IDE

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Ghcid

Description

The entry point of the library

Synopsis

Documentation

data Ghci Source

A GHCi session. Created with startGhci.

data GhciError Source

GHCi shut down

Instances

data Severity Source

Severity of messages

Constructors

Warning 
Error 

data Load Source

Load messages

Instances

startGhci :: String -> Maybe FilePath -> IO (Ghci, [Load]) Source

Start GHCi, returning a function to perform further operation, as well as the result of the initial loading

showModules :: Ghci -> IO [(String, FilePath)] Source

Show modules

reload :: Ghci -> IO [Load] Source

reload modules

exec :: Ghci -> String -> IO [String] Source

Send a command, get lines of result

stopGhci :: Ghci -> IO () Source

Stop GHCi