Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
simple logging to a mutable cell for testing purposes
Synopsis
- newtype RefLoggingC m a = RefLoggingC {
- runRefLoggingC :: IORef (Seq LogMsg) -> m a
- runRefLogging :: IORef (Seq LogMsg) -> RefLoggingC m a -> m a
Documentation
newtype RefLoggingC m a Source #
RefLoggingC | |
|
Instances
runRefLogging :: IORef (Seq LogMsg) -> RefLoggingC m a -> m a Source #
pass a cell that is supposed to be logged to