Hello community,

here is the log from the commit of package ghc-splitmix for openSUSE:Factory 
checked in at 2020-08-18 12:24:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-splitmix (Old)
 and      /work/SRC/openSUSE:Factory/.ghc-splitmix.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ghc-splitmix"

Tue Aug 18 12:24:49 2020 rev:7 rq:825802 version:0.1.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ghc-splitmix/ghc-splitmix.changes        
2020-07-09 13:20:10.381422352 +0200
+++ /work/SRC/openSUSE:Factory/.ghc-splitmix.new.3399/ghc-splitmix.changes      
2020-08-18 12:24:53.271818497 +0200
@@ -1,0 +2,9 @@
+Fri Aug  7 02:00:26 UTC 2020 - psim...@suse.com
+
+- Update splitmix to version 0.1.0.1.
+  # 0.1.0.1
+
+  - Add `INLINEABLE` pragmas to `bitmaskWithRejection*` functions
+  - Support GHC-9.0
+
+-------------------------------------------------------------------

Old:
----
  splitmix-0.1.tar.gz

New:
----
  splitmix-0.1.0.1.tar.gz

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

Other differences:
------------------
++++++ ghc-splitmix.spec ++++++
--- /var/tmp/diff_new_pack.KCrB7z/_old  2020-08-18 12:24:55.495819425 +0200
+++ /var/tmp/diff_new_pack.KCrB7z/_new  2020-08-18 12:24:55.495819425 +0200
@@ -19,7 +19,7 @@
 %global pkg_name splitmix
 %bcond_with tests
 Name:           ghc-%{pkg_name}
-Version:        0.1
+Version:        0.1.0.1
 Release:        0
 Summary:        Fast Splittable PRNG
 License:        BSD-3-Clause

++++++ splitmix-0.1.tar.gz -> splitmix-0.1.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/splitmix-0.1/Changelog.md 
new/splitmix-0.1.0.1/Changelog.md
--- old/splitmix-0.1/Changelog.md       2001-09-09 03:46:40.000000000 +0200
+++ new/splitmix-0.1.0.1/Changelog.md   2001-09-09 03:46:40.000000000 +0200
@@ -1,3 +1,8 @@
+# 0.1.0.1
+
+- Add `INLINEABLE` pragmas to `bitmaskWithRejection*` functions
+- Support GHC-9.0
+
 # 0.1
 
 - Drop `random` dependency unconditionally.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/splitmix-0.1/splitmix.cabal 
new/splitmix-0.1.0.1/splitmix.cabal
--- old/splitmix-0.1/splitmix.cabal     2001-09-09 03:46:40.000000000 +0200
+++ new/splitmix-0.1.0.1/splitmix.cabal 2001-09-09 03:46:40.000000000 +0200
@@ -1,6 +1,6 @@
 cabal-version:      >=1.10
 name:               splitmix
-version:            0.1
+version:            0.1.0.1
 synopsis:           Fast Splittable PRNG
 description:
   Pure Haskell implementation of SplitMix described in
@@ -72,9 +72,9 @@
   -- ghc-options: -fplugin=DumpCore -fplugin-opt DumpCore:core-html
 
   build-depends:
-      base     >=4.3     && <4.15
+      base     >=4.3     && <4.16
     , deepseq  >=1.3.0.0 && <1.5
-    , time     >=1.2.0.3 && <1.10
+    , time     >=1.2.0.3 && <1.11
 
   if flag(optimised-mixer)
     cpp-options: -DOPTIMISED_MIX32=1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/splitmix-0.1/src/System/Random/SplitMix.hs 
new/splitmix-0.1.0.1/src/System/Random/SplitMix.hs
--- old/splitmix-0.1/src/System/Random/SplitMix.hs      2001-09-09 
03:46:40.000000000 +0200
+++ new/splitmix-0.1.0.1/src/System/Random/SplitMix.hs  2001-09-09 
03:46:40.000000000 +0200
@@ -289,10 +289,14 @@
 
 -- | /Bitmask with rejection/ method of generating subrange of 'Word32'.
 --
+-- @bitmaskWithRejection32 w32@ generates random numbers in closed-open
+-- range of @[0, w32)@.
+--
 -- @since 0.0.3
 bitmaskWithRejection32 :: Word32 -> SMGen -> (Word32, SMGen)
 bitmaskWithRejection32 0 = error "bitmaskWithRejection32 0"
 bitmaskWithRejection32 n = bitmaskWithRejection32' (n - 1)
+{-# INLINEABLE bitmaskWithRejection32 #-}
 
 -- | /Bitmask with rejection/ method of generating subrange of 'Word64'.
 --
@@ -306,9 +310,13 @@
 bitmaskWithRejection64 :: Word64 -> SMGen -> (Word64, SMGen)
 bitmaskWithRejection64 0 = error "bitmaskWithRejection64 0"
 bitmaskWithRejection64 n = bitmaskWithRejection64' (n - 1)
+{-# INLINEABLE bitmaskWithRejection64 #-}
 
 -- | /Bitmask with rejection/ method of generating subrange of 'Word32'.
 --
+-- @bitmaskWithRejection32' w32@ generates random numbers in closed-closed
+-- range of @[0, w32]@.
+--
 -- @since 0.0.4
 bitmaskWithRejection32' :: Word32 -> SMGen -> (Word32, SMGen)
 bitmaskWithRejection32' range = go where
@@ -318,6 +326,7 @@
            in if x' > range
               then go g'
               else (x', g')
+{-# INLINEABLE bitmaskWithRejection32' #-}
 
 -- | /Bitmask with rejection/ method of generating subrange of 'Word64'.
 --
@@ -336,6 +345,7 @@
            in if x' > range
               then go g'
               else (x', g')
+{-# INLINEABLE bitmaskWithRejection64' #-}
 
 
 -------------------------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/splitmix-0.1/src/System/Random/SplitMix32.hs 
new/splitmix-0.1.0.1/src/System/Random/SplitMix32.hs
--- old/splitmix-0.1/src/System/Random/SplitMix32.hs    2001-09-09 
03:46:40.000000000 +0200
+++ new/splitmix-0.1.0.1/src/System/Random/SplitMix32.hs        2001-09-09 
03:46:40.000000000 +0200
@@ -271,9 +271,14 @@
 -------------------------------------------------------------------------------
 
 -- | /Bitmask with rejection/ method of generating subrange of 'Word32'.
+--
+-- @bitmaskWithRejection32 w32@ generates random numbers in closed-open
+-- range of @[0, w32)@.
+--
 bitmaskWithRejection32 :: Word32 -> SMGen -> (Word32, SMGen)
 bitmaskWithRejection32 0 = error "bitmaskWithRejection32 0"
 bitmaskWithRejection32 n = bitmaskWithRejection32' (n - 1)
+{-# INLINEABLE bitmaskWithRejection32 #-}
 
 -- | /Bitmask with rejection/ method of generating subrange of 'Word64'.
 --
@@ -286,9 +291,13 @@
 bitmaskWithRejection64 :: Word64 -> SMGen -> (Word64, SMGen)
 bitmaskWithRejection64 0 = error "bitmaskWithRejection64 0"
 bitmaskWithRejection64 n = bitmaskWithRejection64' (n - 1)
+{-# INLINEABLE bitmaskWithRejection64 #-}
 
 -- | /Bitmask with rejection/ method of generating subrange of 'Word32'.
 --
+-- @bitmaskWithRejection32' w32@ generates random numbers in closed-closed
+-- range of @[0, w32]@.
+--
 -- @since 0.0.4
 bitmaskWithRejection32' :: Word32 -> SMGen -> (Word32, SMGen)
 bitmaskWithRejection32' range = go where
@@ -298,6 +307,7 @@
            in if x' > range
               then go g'
               else (x', g')
+{-# INLINEABLE bitmaskWithRejection32' #-}
 
 -- | /Bitmask with rejection/ method of generating subrange of 'Word64'.
 --
@@ -316,6 +326,7 @@
            in if x' > range
               then go g'
               else (x', g')
+{-# INLINEABLE bitmaskWithRejection64' #-}
 
 -------------------------------------------------------------------------------
 -- Initialisation


Reply via email to