BSD-3-Clause licensed and maintained by Dimitri Sabadie
This version can be pinned in stack with:monad-journal-0.8.1@sha256:48b3b8c75344df066a1ba8ba8238c2c371ff21c7758326f9cd5f5e3d214e921d,1957

Module documentation for 0.8.1

  • Control
    • Control.Monad
      • Control.Monad.Journal
        • Control.Monad.Journal.Class
      • Control.Monad.Trans
        • Control.Monad.Trans.Journal

monad-journal

Pure logger typeclass and monad transformer

What is monad-journal?

monad-journal is a simple but powerful answer to the logging problem. A lot of people think that “logging” is IO-related, while it’s not. Everyone must know MonadWriter , which is perfect to log things in pure computations. The issue is that you can’t access those “things” inside the computation itself. monad-journal exposes a cool typeclass called MonadJournal that enables you to do so.

Changes

CHANGELOG

0.8.1

  • Removed the either dependency. It was not needed anymore!

0.8.0

  • Added support for either-4.5. This support breaks compatibility as we don’t have EitherT anymore. If you used it, please fall back to ExceptT, which has the same interface.

0.7.1

  • Added support for either 4.4.1.

0.7

  • Added support for GHC 7.10.

0.6.0.2

  • Fixed compilation error. That was due to the change regarding monad-control-1.0.

0.6.0.1

  • Fixed bug about monad-control and type / data families.

0.6

  • monad-control 1.0.0.1 qualified.

0.5

  • license is now BSD3!;
  • enhanced the documentation in all modules;
  • added README.md.

0.4.0.2

  • added the changelog in the package description (.cabal).

0.4.0.1

  • added the source-repository head field in the .cabal file;
  • added the bug-reports field in the .cabal file;
  • change author and maintainer format.

0.4

  • actually, lower bound is better for now; using mtl-2.1.

0.3

  • now using lower-bound mtl’s version 0.2.2.1 for Control.Monad.Except.

0.2.4

  • added MonadExcept instances.