./devel/hs-random, Random number library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2.0nb2, Package name: hs-random-1.2.0nb2, Maintainer: pho

This package provides a basic random number generation library,
including the ability to split random number generators.


Required to run:
[lang/ghc88]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 37.001 KB

Version history: (Expand)


CVS history: (Expand)


   2022-01-18 03:48:33 by Masatake Daimon | Files touched by this commit (541)
Log message:
Bump packages that depends on GHC
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-05-03 21:01:21 by Masatake Daimon | Files touched by this commit (475)
Log message:
*: Bump PKGREVISION for ghc-9.0.1
   2021-05-03 16:38:23 by Masatake Daimon | Files touched by this commit (1)
Log message:
Add missing dependency on splitmix
   2021-04-23 08:51:27 by Masatake Daimon | Files touched by this commit (4)
Log message:
Update to random-1.2.0

* Breaking change which mostly maintains backwards compatibility, see
  "Breaking Changes" below.
* Support for monadic generators e.g. mwc-random.
* Monadic adapters for pure generators (providing a uniform monadic
  interface to pure and monadic generators).
* Faster in all cases except one by more than x18 (N.B. x18 not 18%)
  and some cases (depending on the type) faster by more than x1000
* Passes a large number of random number test suites:
  - dieharder
  - TestU01 (SmallCrush, Crush, BigCrush)
  - PractRand
  - gjrand
  - See https://github.com/tweag/random-quality for details on how to
    do this yourself.
* Better quality split as judged by these tests:
  \ 
https://www.cambridge.org/core/journals/journal-of-functional-programming/article/evaluation-of-splittable-pseudorandom-generators/3EBAA9F14939C5BB5560E32D1A132637
  Again see https://github.com/tweag/random-quality for details on how
  to do this yourself.
* Unbiased generation of ranges.
* Updated tests and benchmarks.
* Continuous integration.

Breaking Changes

Version 1.2.0 introduces these breaking changes:
* requires base >= 4.8 (GHC-7.10)
* StdGen is no longer an instance of Read
* randomIO and randomRIO were extracted from the Random class into
  separate functions

In addition, there may be import clashes with new functions,
e.g. uniform and uniformR.

Deprecations

Version 1.2.0 introduces genWord64, genWord32 and similar methods to
the RandomGen class. The significantly slower method next and its
companion genRange are now deprecated.
   2020-05-11 19:52:21 by Roland Illig | Files touched by this commit (190)
Log message:
hs-*: add PLIST files

These PLIST files have been autogenerated by mk/haskell.mk using
HS_UPDATE_PLIST=yes during a bulk build.  They will help to track changes
to the packages.  The Haskell packages didn't have PLIST files because
their paths contained package hashes.  These hashes are now determined by
mk/haskell.mk, which makes it easy to generate easy to read PLIST files.
   2020-01-01 04:28:13 by Masatake Daimon | Files touched by this commit (1)
Log message:
Remove PLIST; we can no longer use it for Haskell packages