Hello community,

here is the log from the commit of package ghc-MonadRandom for openSUSE:Factory 
checked in at 2015-11-23 07:30:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-MonadRandom (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-MonadRandom.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-MonadRandom"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-MonadRandom/ghc-MonadRandom.changes  
2015-08-25 08:48:05.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-MonadRandom.new/ghc-MonadRandom.changes     
2015-11-23 07:30:29.000000000 +0100
@@ -1,0 +2,6 @@
+Sun Nov 22 09:52:42 UTC 2015 - [email protected]
+
+- update to 0.4.1
+* Remove unnecessary Monad m constraint from liftRandT and runRandT.
+
+-------------------------------------------------------------------

Old:
----
  MonadRandom-0.4.tar.gz

New:
----
  MonadRandom-0.4.1.tar.gz

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

Other differences:
------------------
++++++ ghc-MonadRandom.spec ++++++
--- /var/tmp/diff_new_pack.G0OcrB/_old  2015-11-23 07:30:29.000000000 +0100
+++ /var/tmp/diff_new_pack.G0OcrB/_new  2015-11-23 07:30:29.000000000 +0100
@@ -19,7 +19,7 @@
 %global pkg_name MonadRandom
 
 Name:           ghc-MonadRandom
-Version:        0.4
+Version:        0.4.1
 Release:        0
 Summary:        Random-number generation monad
 License:        MIT

++++++ MonadRandom-0.4.tar.gz -> MonadRandom-0.4.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MonadRandom-0.4/CHANGES.markdown 
new/MonadRandom-0.4.1/CHANGES.markdown
--- old/MonadRandom-0.4/CHANGES.markdown        2015-05-12 07:03:38.000000000 
+0200
+++ new/MonadRandom-0.4.1/CHANGES.markdown      2015-11-21 05:13:15.000000000 
+0100
@@ -1,3 +1,14 @@
+0.4.1 (20 November 2015)
+------------------------
+
+  - Remove unnecessary `Monad m` constraint from `liftRandT` and
+    `runRandT`.
+
+  This should again technically require a major version bump, but I'm
+  not doing it this time in the interest of not being super annoying.
+  If this breaks something for you, just yell, and I will
+  deprecate this version and do a proper 0.5 release.
+
 0.4 (12 May 2015)
 -----------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MonadRandom-0.4/Control/Monad/Random.hs 
new/MonadRandom-0.4.1/Control/Monad/Random.hs
--- old/MonadRandom-0.4/Control/Monad/Random.hs 2015-05-12 07:03:38.000000000 
+0200
+++ new/MonadRandom-0.4.1/Control/Monad/Random.hs       2015-11-21 
05:13:15.000000000 +0100
@@ -79,8 +79,7 @@
   (<*>) = ap
 
 -- | Lift arbitrary action to RandT
-liftRandT :: (Monad m) =>
-             (g -> m (a, g)) -- ^ action returning value and new generator 
state
+liftRandT :: (g -> m (a, g)) -- ^ action returning value and new generator 
state
              -> RandT g m a
 liftRandT = RandT . StateT
 
@@ -107,7 +106,7 @@
 
 -- | Run a RandT computation using the generator @g@, returning the result and
 -- the updated generator.
-runRandT  :: (Monad m) => RandT g m a -> g -> m (a, g)
+runRandT  :: RandT g m a -> g -> m (a, g)
 runRandT (RandT x) g = runStateT x g
 
 -- | A basic random monad.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/MonadRandom-0.4/MonadRandom.cabal 
new/MonadRandom-0.4.1/MonadRandom.cabal
--- old/MonadRandom-0.4/MonadRandom.cabal       2015-05-12 07:03:38.000000000 
+0200
+++ new/MonadRandom-0.4.1/MonadRandom.cabal     2015-11-21 05:13:15.000000000 
+0100
@@ -1,5 +1,5 @@
 name:                MonadRandom
-version:             0.4
+version:             0.4.1
 synopsis:            Random-number generation monad.
 description:         Support for computations which consume random values.
 license:             OtherLicense
@@ -17,6 +17,10 @@
 
 library
   exposed-modules:     Control.Monad.Random, Control.Monad.Random.Class
-  build-depends:       base >= 2 && < 5, transformers >= 0.3 && < 0.5, 
transformers-compat == 0.4.*, mtl, random
+  build-depends:       base >= 2 && < 5,
+                       transformers >= 0.3 && < 0.5,
+                       transformers-compat == 0.4.*,
+                       mtl >= 2.1 && < 2.3,
+                       random
   ghc-options:         -Wall
   default-language:    Haskell2010


Reply via email to