monad-journal 0.2.3.0 → 0.2.3.1
raw patch · 3 files changed
+6/−4 lines, 3 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Control.Monad.Trans.Journal: data JournalT w m a
Files
Control/Monad/Journal/Class.hs view
@@ -39,7 +39,7 @@ -- |Clear the logs history. clear :: m () --- |Sink all logs history through `MonadIO` then clean it.+-- |Sink all logs history through 'MonadIO' then clean it. sink :: (MonadJournal w m, MonadIO m) => (w -> IO ()) -> m () sink out = history >>= liftIO . out >> clear
Control/Monad/Trans/Journal.hs view
@@ -1,4 +1,6 @@ {-# LANGUAGE GeneralizedNewtypeDeriving, TypeFamilies, UndecidableInstances #-}+{-# OPTIONS_HADDOCK prune #-}+ {- | Module : Control.Monad.Trans.Journal
monad-journal.cabal view
@@ -1,13 +1,13 @@ name: monad-journal license: PublicDomain-version: 0.2.3.0+version: 0.2.3.1 synopsis: Pure logger typeclass and monad transformer description: This package provides a typeclass for logging in pure code, or more generally, in any kind of context. You can do whatever you want with logs, especially get them, clear them or even- sink them through `IO` if you’re logging in- `(MonadIO m) => m`.+ sink them through 'IO' if you’re logging in+ @(MonadIO m) => m@. homepage: https://github.com/phaazon/monad-journal author: DimitriSabadie maintainer: dimitri.sabadie@gmail.com