Hello community,

here is the log from the commit of package ghc-monad-logger for 
openSUSE:Factory checked in at 2015-12-23 08:49:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-monad-logger (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-monad-logger.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-monad-logger"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-monad-logger/ghc-monad-logger.changes        
2015-11-26 17:02:41.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ghc-monad-logger.new/ghc-monad-logger.changes   
2015-12-23 08:49:23.000000000 +0100
@@ -1,0 +2,6 @@
+Sun Dec 13 16:47:15 UTC 2015 - [email protected]
+
+- update to 0.3.16
+* Provide default monadLoggerLog implementation
+
+-------------------------------------------------------------------

Old:
----
  monad-logger-0.3.15.tar.gz

New:
----
  monad-logger-0.3.16.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ghc-monad-logger.spec ++++++
--- /var/tmp/diff_new_pack.jJj7rs/_old  2015-12-23 08:49:23.000000000 +0100
+++ /var/tmp/diff_new_pack.jJj7rs/_new  2015-12-23 08:49:23.000000000 +0100
@@ -15,15 +15,16 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %global pkg_name monad-logger
 
 Name:           ghc-monad-logger
-Version:        0.3.15
+Version:        0.3.16
 Release:        0
 Summary:        A class of monads which can log messages
+License:        MIT
 Group:          System/Libraries
 
-License:        MIT
 Url:            https://hackage.haskell.org/package/%{pkg_name}
 Source0:        
https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -71,31 +72,24 @@
 %prep
 %setup -q -n %{pkg_name}-%{version}
 
-
 %build
 %ghc_lib_build
 
-
 %install
 %ghc_lib_install
 
-
 %post devel
 %ghc_pkg_recache
 
-
 %postun devel
 %ghc_pkg_recache
 
-
 %files -f %{name}.files
 %defattr(-,root,root,-)
 %doc LICENSE
 
-
 %files devel -f %{name}-devel.files
 %defattr(-,root,root,-)
 %doc README.md
 
-
 %changelog

++++++ monad-logger-0.3.15.tar.gz -> monad-logger-0.3.16.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.15/ChangeLog.md 
new/monad-logger-0.3.16/ChangeLog.md
--- old/monad-logger-0.3.15/ChangeLog.md        2015-10-28 07:29:22.000000000 
+0100
+++ new/monad-logger-0.3.16/ChangeLog.md        2015-12-13 09:03:42.000000000 
+0100
@@ -1,3 +1,11 @@
+## 0.3.16
+
+* Provide default monadLoggerLog implementation 
[#72](https://github.com/kazu-yamamoto/logger/pull/72)
+
+## 0.3.15
+
+* Expose Loc constructor [#70](https://github.com/kazu-yamamoto/logger/pull/70)
+
 ## 0.3.14
 
 * Don't include source location for defaultLoc 
[#69](https://github.com/kazu-yamamoto/logger/issues/69)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.15/Control/Monad/Logger.hs 
new/monad-logger-0.3.16/Control/Monad/Logger.hs
--- old/monad-logger-0.3.15/Control/Monad/Logger.hs     2015-10-28 
07:29:22.000000000 +0100
+++ new/monad-logger-0.3.16/Control/Monad/Logger.hs     2015-12-13 
09:03:42.000000000 +0100
@@ -177,6 +177,9 @@
 -- | A @Monad@ which has the ability to log messages in some manner.
 class Monad m => MonadLogger m where
     monadLoggerLog :: ToLogStr msg => Loc -> LogSource -> LogLevel -> msg -> m 
()
+    default monadLoggerLog :: (Trans.MonadTrans t, MonadLogger (t m), ToLogStr 
msg)
+                           => Loc -> LogSource -> LogLevel -> msg -> t m ()
+    monadLoggerLog loc src lvl msg = Trans.lift $ monadLoggerLog loc src lvl 
msg
 
 -- | An extension of @MonadLogger@ for the common case where the logging action
 -- is a simple @IO@ action. The advantage of using this typeclass is that the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/monad-logger-0.3.15/monad-logger.cabal 
new/monad-logger-0.3.16/monad-logger.cabal
--- old/monad-logger-0.3.15/monad-logger.cabal  2015-10-28 07:29:22.000000000 
+0100
+++ new/monad-logger-0.3.16/monad-logger.cabal  2015-12-13 09:03:42.000000000 
+0100
@@ -1,5 +1,5 @@
 name:                monad-logger
-version:             0.3.15
+version:             0.3.16
 synopsis:            A class of monads which can log messages.
 description:         Hackage documentation generation is not reliable. For up 
to date documentation, please see: 
<http://www.stackage.org/package/monad-logger>.
 homepage:            https://github.com/kazu-yamamoto/logger


Reply via email to