Language.Haskell.GhcMod.LightGhc

ghc-mod-5.8.0.0: Happy Haskell Hacking

Safe Haskell | None
Language | Haskell2010

Language.Haskell.GhcMod.LightGhc

# Documentation

newLightEnv :: IOish m => (DynFlags -> LightGhc DynFlags) -> m HscEnv #

teardownLightEnv :: MonadIO m => HscEnv -> m () #

withLightHscEnv' :: IOish m => (DynFlags -> LightGhc DynFlags) -> (HscEnv -> m a) -> m a #

withLightHscEnv :: IOish m => [GHCOption] -> (HscEnv -> m a) -> m a #

runLightGhc :: MonadIO m => HscEnv -> LightGhc a -> m a #

runLightGhc' :: MonadIO m => IORef HscEnv -> LightGhc a -> m a #