mwc-random 0.15.0.1 → 0.15.0.2
raw patch · 4 files changed
+14/−14 lines, 4 filesdep ~doctest
Dependency ranges changed: doctest
Files
- README.markdown +4/−10
- System/Random/MWC.hs +2/−1
- changelog.md +5/−0
- mwc-random.cabal +3/−3
README.markdown view
@@ -1,6 +1,6 @@ # Efficient, general purpose pseudo-random number generation-[](https://travis-ci.org/Shimuuar/mwc-random)-[](https://ci.appveyor.com/project/Shimuuar/mwc-random)+[](https://github.com/haskell/mwc-random/actions) This package provides the System.Random.MWC module, a Haskell library for generating high-quality pseudo-random numbers in a space- and@@ -10,17 +10,11 @@ # Get involved! Please report bugs via the-[github issue tracker](http://github.com/bos/mwc-random).+[github issue tracker](http://github.com/haskell/mwc-random). -Master git [git repository](http://github.com/bos/mwc-random):+Master git [git repository](http://github.com/haskell/mwc-random): * `git clone git://github.com/bos/mwc-random.git`--There's also a [Mercurial mirror](http://bitbucket.org/bos/mwc-random):--* `hg clone http://bitbucket.org/bos/mwc-random`--(You can create and contribute changes using either Mercurial or git.) # Authors
System/Random/MWC.hs view
@@ -37,10 +37,11 @@ -- Deterministically create generator from given seed using -- 'initialize' function: --+-- >>> import Data.Int -- >>> import qualified Data.Vector.Unboxed as U -- >>> import System.Random.Stateful -- >>> g <- initialize $ U.fromList [1,2,3]--- >>> uniformRM (1,200) g :: IO Int+-- >>> uniformRM (1,200) g :: IO Int64 -- 101 -- -- Last way is to create generator with fixed seed which could be
changelog.md view
@@ -1,3 +1,8 @@+## Changes in 0.15.0.2++ * Doctests on 32-bit platforms are fixed. (#79)++ ## Changes in 0.15.0.1 * Bug in generation of Int/Word in both uniform and uniformR is fixed. (#75)
mwc-random.cabal view
@@ -1,5 +1,5 @@ name: mwc-random-version: 0.15.0.1+version: 0.15.0.2 synopsis: Fast, high quality pseudo random number generation description: This package contains code for generating high quality random@@ -46,7 +46,7 @@ System.Random.MWC.CondensedTable System.Random.MWC.SeedSource build-depends: base >= 4.8 && < 5- , primitive >= 0.6+ , primitive >= 0.6.2 , random >= 1.2 , time , vector >= 0.7@@ -103,7 +103,7 @@ build-depends: base -any , mwc-random -any- , doctest >=0.15 && <0.18+ , doctest >=0.15 && <0.19 -- , bytestring , primitive