--- - branch: MAIN date: Fri Apr 23 06:51:27 UTC 2021 files: - new: '1.4' old: '1.3' path: pkgsrc/devel/hs-random/Makefile pathrev: pkgsrc/devel/hs-random/Makefile@1.4 type: modified - new: '1.4' old: '1.3' path: pkgsrc/devel/hs-random/PLIST pathrev: pkgsrc/devel/hs-random/PLIST@1.4 type: modified - new: '1.5' old: '1.4' path: pkgsrc/devel/hs-random/buildlink3.mk pathrev: pkgsrc/devel/hs-random/buildlink3.mk@1.5 type: modified - new: '1.5' old: '1.4' path: pkgsrc/devel/hs-random/distinfo pathrev: pkgsrc/devel/hs-random/distinfo@1.5 type: modified id: 20210423T065127Z.896b4cbcf0836527ac043f9363cc28642868046e log: | 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. module: pkgsrc subject: 'CVS commit: pkgsrc/devel/hs-random' unixtime: '1619160687' user: pho