hsdev-0.1.2.1: Haskell development library and tool with support of autocompletion, symbol info, go to declaration, find references etc.
HsDev.Tools.Ghc.Worker
Synopsis
ghcWorker :: IO (Worker (Ghc ())) Source
waitGhc :: Worker (Ghc ()) -> Ghc a -> ErrorT String IO a Source
evaluate :: String -> Ghc String Source
try :: Ghc a -> Ghc (Either String a) Source
data Ghc a :: * -> *
A minimal implementation of a GhcMonad. If you need a custom monad, e.g., to maintain additional state consider wrapping this monad or using GhcT.
GhcMonad
GhcT
Instances
module Control.Concurrent.Worker