Safe Haskell | None |
---|---|
Language | Haskell2010 |
LibRISCV.Effects.Logging.Default.Interpreter
Description
Provides the default interpretation for the logging effect.
Synopsis
- defaultLogging :: forall (m :: Type -> Type). MonadIO m => LogInstructionFetch ~> m
- noLogging :: forall (m :: Type -> Type). Monad m => LogInstructionFetch ~> m
Documentation
defaultLogging :: forall (m :: Type -> Type). MonadIO m => LogInstructionFetch ~> m Source #
The default effectful logging interpreter which writes the
InstructionType
of a fetched instruction
to standard output, before executing it. This is particularly useful for
debugging but is quite verbose in the common case.