Safe Haskell | None |
---|---|
Language | Haskell98 |
- data SessionType
- data SessionConfig = SessionConfig SessionType PackageDbStack
- type GhcM a = MGhcT SessionConfig (First DynFlags) (LogT IO) a
- type GhcWorker = Worker (MGhcT SessionConfig (First DynFlags) (LogT IO))
- newtype MGhcT s d m a = MGhcT {}
- runGhcM :: MonadLog m => Maybe FilePath -> GhcM a -> m a
- ghcWorker :: MonadLog m => m GhcWorker
- workerSession :: SessionType -> PackageDbStack -> [String] -> GhcM ()
- ghcSession :: PackageDbStack -> [String] -> GhcM ()
- ghciSession :: GhcM ()
- haddockSession :: PackageDbStack -> [String] -> GhcM ()
- tmpSession :: PackageDbStack -> [String] -> GhcM ()
- data Ghc a :: * -> *
- newtype LogT (m :: * -> *) a :: (* -> *) -> * -> * = LogT {}
- module HsDev.Tools.Ghc.Base
- module HsDev.Tools.Ghc.Repl
- module HsDev.Tools.Ghc.MGhc
- module Control.Concurrent.Worker
Workers
data SessionType Source #
data SessionConfig Source #
newtype MGhcT s d m a Source #
Multi-session ghc monad
Monad m => MonadReader (Maybe FilePath) (MGhcT s d m) Source # | |
Monad m => MonadState (SessionState s d) (MGhcT s d m) Source # | |
Monad m => Monad (MGhcT s d m) Source # | |
Functor m => Functor (MGhcT s d m) Source # | |
Monad m => Applicative (MGhcT s d m) Source # | |
MonadIO m => MonadIO (MGhcT s d m) Source # | |
MonadThrow m => MonadThrow (MGhcT s d m) Source # | |
MonadCatch m => MonadCatch (MGhcT s d m) Source # | |
MonadMask m => MonadMask (MGhcT s d m) Source # | |
ExceptionMonad m => GhcMonad (MGhcT s d m) Source # | |
MonadIO m => HasDynFlags (MGhcT s d m) Source # | |
ExceptionMonad m => ExceptionMonad (MGhcT s d m) Source # | |
MonadLog m => MonadLog (MGhcT s d m) Source # | |
workerSession :: SessionType -> PackageDbStack -> [String] -> GhcM () Source #
Create session with options
ghcSession :: PackageDbStack -> [String] -> GhcM () Source #
Get ghc session
ghciSession :: GhcM () Source #
Get ghci session
haddockSession :: PackageDbStack -> [String] -> GhcM () Source #
Get haddock session with flags
tmpSession :: PackageDbStack -> [String] -> GhcM () Source #
Get haddock session with flags
newtype LogT (m :: * -> *) a :: (* -> *) -> * -> * #
MonadTrans LogT | |
Monad m => MonadReader Log (LogT m) | |
Monad m => Monad (LogT m) | |
Functor m => Functor (LogT m) | |
Applicative m => Applicative (LogT m) | |
MonadIO m => MonadIO (LogT m) | |
MonadThrow m => MonadThrow (LogT m) | |
MonadCatch m => MonadCatch (LogT m) | |
MonadMask m => MonadMask (LogT m) | |
(MonadIO m, MonadMask m) => MonadLog (LogT m) | |
module HsDev.Tools.Ghc.Base
module HsDev.Tools.Ghc.Repl
module HsDev.Tools.Ghc.MGhc
module Control.Concurrent.Worker