Language.Haskell.GhcMod.Monad.Env

ghc-mod-5.5.0.0: Happy Haskell Programming

Safe Haskell | None
Language | Haskell2010

Language.Haskell.GhcMod.Monad.Env

# Documentation

class Monad m => GmEnv m where

Minimal complete definition

(gmeAsk | gmeReader), gmeLocal

Methods

gmeAsk :: m GhcModEnv

gmeReader :: (GhcModEnv -> a) -> m a

gmeLocal :: (GhcModEnv -> GhcModEnv) -> m a -> m a

Instances

(Monad m, GmEnv (GhcModT m)) => GmEnv (GmlT m) |
Monad m => GmEnv (GmT m) |
GmEnv m => GmEnv (GmOutT m) |
GmEnv m => GmEnv (JournalT GhcModLog m) |
GmEnv m => GmEnv (StateT s m) |
GmEnv m => GmEnv (ErrorT GhcModError m) |