ghc-debug-client-0.4.0.0: Useful functions for writing heap analysis tools which use ghc-debug.
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Debug.Client.Monad.Simple

Description

This module provides a simple implementation, which can be a lot faster if network latency is not an issue.

Documentation

newtype DebugM a Source #

Constructors

DebugM (ReaderT Debuggee IO a) 

Instances

Instances details
MonadFail DebugM Source # 
Instance details

Defined in GHC.Debug.Client.Monad.Simple

Methods

fail :: String -> DebugM a #

MonadFix DebugM Source # 
Instance details

Defined in GHC.Debug.Client.Monad.Simple

Methods

mfix :: (a -> DebugM a) -> DebugM a #

Applicative DebugM Source # 
Instance details

Defined in GHC.Debug.Client.Monad.Simple

Methods

pure :: a -> DebugM a #

(<*>) :: DebugM (a -> b) -> DebugM a -> DebugM b #

liftA2 :: (a -> b -> c) -> DebugM a -> DebugM b -> DebugM c #

(*>) :: DebugM a -> DebugM b -> DebugM b #

(<*) :: DebugM a -> DebugM b -> DebugM a #

Functor DebugM Source # 
Instance details

Defined in GHC.Debug.Client.Monad.Simple

Methods

fmap :: (a -> b) -> DebugM a -> DebugM b #

(<$) :: a -> DebugM b -> DebugM a #

Monad DebugM Source # 
Instance details

Defined in GHC.Debug.Client.Monad.Simple

Methods

(>>=) :: DebugM a -> (a -> DebugM b) -> DebugM b #

(>>) :: DebugM a -> DebugM b -> DebugM b #

return :: a -> DebugM a #

DebugMonad DebugM Source # 
Instance details

Defined in GHC.Debug.Client.Monad.Simple

Associated Types

type DebugEnv DebugM Source #

type DebugEnv DebugM Source # 
Instance details

Defined in GHC.Debug.Client.Monad.Simple