Language.Haskell.GhcMod.Monad.State

ghc-mod-5.5.0.0: Happy Haskell Programming

Safe Haskell | None
Language | Haskell2010

Language.Haskell.GhcMod.Monad.State

# Documentation

class Monad m => GmState m where

Minimal complete definition

gmsState | gmsGet, gmsPut

Methods

gmsGet :: m GhcModState

gmsPut :: GhcModState -> m ()

gmsState :: (GhcModState -> (a, GhcModState)) -> m a

Instances

GmState m => GmState (MaybeT m) |
(Monad m, GmState (GhcModT m)) => GmState (GmlT m) |
Monad m => GmState (GmT m) |
GmState m => GmState (StateT s m) |
Monad m => GmState (StateT GhcModState m) |