monad-journal

Pure logger typeclass and monad transformer

http://github.com/phaazon/monad-journal

Version on this page:0.7.2
LTS Haskell 21.25:0.8.1
Stackage Nightly 2023-06-21:0.8.1
Latest on Hackage:0.8.1

See all snapshots monad-journal appears in

BSD-3-Clause licensed and maintained by Dimitri Sabadie
This version can be pinned in stack with:monad-journal-0.7.2@sha256:57232f0694bba49993793445510b0ec20984ea68ea0119593dcc71ead587f2d9,2020

Module documentation for 0.7.2

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.7.2

  • Added support for transformers-0.5.

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.