packages feed

monad-journal 0.6.0.1 → 0.6.0.2

raw patch · 3 files changed

+8/−3 lines, 3 filesdep ~monad-controlPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: monad-control

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,10 @@ # CHANGELOG +### 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.
Control/Monad/Trans/Journal.hs view
@@ -77,14 +77,14 @@   type StT (JournalT w) a = (a,w)   liftWith f = JournalT $ StateT $ \w ->                liftM (\x -> (x, w))-                 (f $ \t -> liftM StJournal $ runJournalT (journal w >> t))+                 (f $ \t -> runJournalT (journal w >> t))   restoreT = JournalT . StateT . const   {-# INLINE liftWith #-}   {-# INLINE restoreT #-}  instance (Monoid w,MonadBaseControl b m) => MonadBaseControl b (JournalT w m) where   type StM (JournalT w m) a = ComposeSt (JournalT w) m a-  liftBaseWith = defaultLiftBaseWith StMJournal+  liftBaseWith = defaultLiftBaseWith   restoreM     = defaultRestoreM   {-# INLINE liftBaseWith #-}   {-# INLINE restoreM #-}
monad-journal.cabal view
@@ -1,7 +1,7 @@ name:                monad-journal license:             BSD3 license-file:        LICENSE-version:             0.6.0.1+version:             0.6.0.2 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