Hello community, here is the log from the commit of package ghc-log-base for openSUSE:Factory checked in at 2017-05-10 20:48:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-log-base (Old) and /work/SRC/openSUSE:Factory/.ghc-log-base.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-log-base" Wed May 10 20:48:15 2017 rev:2 rq:489358 version:0.7.1 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-log-base/ghc-log-base.changes 2017-04-12 18:07:36.990917930 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-log-base.new/ghc-log-base.changes 2017-05-10 20:48:18.829504921 +0200 @@ -1,0 +2,5 @@ +Mon Mar 27 12:37:02 UTC 2017 - psim...@suse.com + +- Update to version 0.7.1 with cabal2obs. + +------------------------------------------------------------------- Old: ---- log-base-0.7.tar.gz New: ---- log-base-0.7.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-log-base.spec ++++++ --- /var/tmp/diff_new_pack.VC01iP/_old 2017-05-10 20:48:20.101325459 +0200 +++ /var/tmp/diff_new_pack.VC01iP/_new 2017-05-10 20:48:20.105324895 +0200 @@ -18,7 +18,7 @@ %global pkg_name log-base Name: ghc-%{pkg_name} -Version: 0.7 +Version: 0.7.1 Release: 0 Summary: Structured logging solution (base package) License: BSD-3-Clause ++++++ log-base-0.7.tar.gz -> log-base-0.7.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/log-base-0.7/log-base.cabal new/log-base-0.7.1/log-base.cabal --- old/log-base-0.7/log-base.cabal 2016-11-25 10:07:18.000000000 +0100 +++ new/log-base-0.7.1/log-base.cabal 2017-03-16 02:49:51.000000000 +0100 @@ -1,5 +1,5 @@ name: log-base -version: 0.7 +version: 0.7.1 synopsis: Structured logging solution (base package) description: A library that provides a way to record structured log diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/log-base-0.7/src/Log/Monad.hs new/log-base-0.7.1/src/Log/Monad.hs --- old/log-base-0.7/src/Log/Monad.hs 2016-11-25 10:07:18.000000000 +0100 +++ new/log-base-0.7.1/src/Log/Monad.hs 2017-03-16 02:49:51.000000000 +0100 @@ -13,6 +13,9 @@ import Control.DeepSeq import Control.Monad.Base import Control.Monad.Catch +import Control.Monad.Error.Class +import Control.Monad.State.Class +import Control.Monad.Writer.Class import Control.Monad.Reader import Control.Monad.Trans.Control import Data.Aeson @@ -40,7 +43,12 @@ -- | Monad transformer that adds logging capabilities to the underlying monad. newtype LogT m a = LogT { unLogT :: InnerLogT m a } deriving (Alternative, Applicative, Functor, Monad, MonadBase b, MonadCatch - ,MonadIO, MonadMask, MonadPlus, MonadThrow, MonadTrans) + ,MonadIO, MonadMask, MonadPlus, MonadThrow, MonadTrans + ,MonadError e, MonadWriter w, MonadState s) + +instance MonadReader r m => MonadReader r (LogT m) where + ask = lift ask + local = mapLogT . local -- | Run a 'LogT' computation. --