Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data Trace :: Effect where
- trace :: Trace :> es => String -> Eff es ()
- runTraceHandle :: IOE :> es => Handle -> Eff (Trace ': es) a -> Eff es a
- runTraceStdout :: IOE :> es => Eff (Trace ': es) ~> Eff es
- runTraceStderr :: IOE :> es => Eff (Trace ': es) ~> Eff es
- ignoreTrace :: Eff (Trace ': es) ~> Eff es
- traceToOutput :: Eff (Trace ': es) ~> Eff (Output String ': es)
Effect
data Trace :: Effect where Source #
An effect capable of logging messages, mostly for debugging purposes.