pcg-random
Haskell bindings to the PCG random number generator.
PCG is a family of simple fast space-efficient statistically good
algorithms for random number generation. Unlike many general-purpose
RNGs, they are also hard to predict.
This library implements bindings to the standard C implementation.
This includes the standard, unique, fast and single variants in the
pcg family. There is a pure implementation that can be used as a
generator with the random package as well as a faster primitive api
that includes functions for generating common types.
The generators in this module are suitable for use in parallel but
make sure threads don't share the same generator or things will go
horribly wrong.
| version | uploaded | uploader | changes | |
|---|---|---|---|---|
| 0.1.4.0 | 2023-04-30 15:09 UTC | cchalmers | 1 revisions | +30/−15 lines, 7 filesdep ~primitivedep ~randomPVP: major bump suggested |
| 0.1.3.7 | 2020-11-19 20:12 UTC | cchalmers | +17/−21 lines, 3 filesPVP: major bump suggested | |
| 0.1.3.6 | 2019-05-18 13:42 UTC | cchalmers | +25/−19 lines, 4 filesdep +pcg-randomdep ~primitivebuild-type:Customsetup-changedPVP: major bump suggested | |
| 0.1.3.5 | 2018-03-11 17:36 UTC | cchalmers | +12/−2 lines, 3 files | |
| 0.1.3.4 | 2016-06-21 19:07 UTC | cchalmers | +17/−7 lines, 3 files | |
| 0.1.3.3 | 2016-06-14 18:51 UTC | cchalmers | +341/−90 lines, 7 filesdep −time | |
| 0.1.3.2 | 2015-08-24 22:15 UTC | cchalmers | +345/−8 lines, 6 files | |
| 0.1.3.1 | 2015-06-17 00:35 UTC | cchalmers | +36/−14 lines, 6 files | |
| 0.1.3.0 | 2015-06-16 12:16 UTC | cchalmers | +36/−47 lines, 7 filesdep +bytestringdep +entropy | |
| 0.1.2.0 | 2015-03-29 19:43 UTC | cchalmers | +10/−6 lines, 4 filesdep ~primitive | |
| 0.1.1.0 | 2015-03-10 13:22 UTC | cchalmers | +294/−21 lines, 8 files | |
| 0.1.0.1 | 2015-02-04 15:07 UTC | cchalmers | +31/−7 lines, 7 filesPVP: minor bump suggested | |
| 0.1.0.0 | 2014-12-15 00:16 UTC | cchalmers | +4160/−0 lines, 16 filesdep +basedep +doctestdep +primitivesetup-changed |
Dependencies of pcg-random-0.1.4.0
base >=4.3 && <5 4.22.0.0 → 4.22.1.0
| 2026-12-01 12:38 UTC | 4.22.1.0 | +388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested |
| 2025-12-19 11:52 UTC | 4.22.0.0 | +886/−215 lines, 28 filesdep ~ghc-internalPVP ok |
| 2026-03-27 12:26 UTC | 4.21.2.0 | +10/−3 lines, 4 filesdep ~ghc-internalPVP ok |
| 2025-12-27 10:31 UTC | 4.21.1.0 | +17/−5 lines, 4 filesdep ~ghc-internalPVP ok |
| 2024-12-16 09:24 UTC | 4.21.0.0 | +1170/−396 lines, 39 filesdep ~ghc-internalPVP ok |
showing 5 of 61 versions
bytestring >=0 0.12.1.0 → 0.12.2.0
| 2024-12-06 21:41 UTC | 0.12.2.0 | +538/−437 lines, 44 filesdep ~QuickCheckdep ~basePVP ok |
| 2024-02-16 03:27 UTC | 0.12.1.0 | +3398/−1642 lines, 37 filesdep +sybdep ~basePVP: major bump suggested |
| 2023-08-16 01:53 UTC | 0.12.0.2 | +16/−2 lines, 3 files |
| 2023-08-05 00:03 UTC | 0.12.0.1 | +47/−9 lines, 3 files |
| 2023-07-07 01:45 UTC | 0.12.0.0 | +1459/−520 lines, 21 filesdep +data-array-bytePVP ok |
showing 5 of 49 versions
doctest >=0 0.25.0.1 → 0.25.0.2
| 2026-09-24 10:26 UTC | 0.25.0.2 | +7/−2 lines, 3 filesPVP ok |
| 2026-09-24 08:42 UTC | 0.25.0.1 | +36/−4 lines, 6 filesPVP ok |
| 2026-05-03 17:07 UTC | 0.25.0 | +55/−31 lines, 7 filesPVP ok |
| 2026-01-02 08:10 UTC | 0.24.3 | +25/−11 lines, 5 filesdep ~ghcPVP ok |
| 2025-06-24 14:52 UTC | 0.24.2 | +17/−77 lines, 10 filesdep ~basedep ~ghcPVP ok |
showing 5 of 79 versions
entropy >=0 0.4.1.10 → 0.4.1.11
| 2025-01-01 23:24 UTC | 0.4.1.11 | +28/−10 lines, 2 filessetup-changedPVP ok |
| 2022-08-23 14:54 UTC | 0.4.1.10 | +3/−3 lines, 2 filesdep ~unix |
| 2022-08-22 02:12 UTC | 0.4.1.9 | +42/−122 lines, 7 filesdep ~Win32dep ~ghcjs-dom |
| 2021-11-02 14:54 UTC | 0.4.1.7 | +7/−6 lines, 2 filesdep ~Win32setup-changedPVP ok |
| 2020-04-11 00:28 UTC | 0.4.1.6 | +242/−35 lines, 9 filessetup-changedPVP ok |
showing 5 of 30 versions
primitive >=0.7 && <0.10 0.9.0.0 → 0.9.1.0
| 2025-03-31 14:42 UTC | 0.9.1.0 | +225/−135 lines, 12 filesdep +containersdep −ghc-primdep ~basePVP: major bump suggested |
| 2023-10-05 15:07 UTC | 0.9.0.0 | +995/−657 lines, 17 filesdep ~QuickCheckdep ~basedep ~tastyPVP ok |
| 2023-02-20 16:20 UTC | 0.8.0.0 | +328/−248 lines, 9 filesdep +data-array-bytedep ~basedep ~deepseqPVP ok |
| 2022-05-20 18:46 UTC | 0.7.4.0 | +244/−146 lines, 10 filesdep +template-haskelldep −faildep −semigroupsdep ~basedep ~transformersPVP ok |
| 2021-10-27 19:26 UTC | 0.7.3.0 | +951/−947 lines, 25 filesdep +tasty-benchdep ~basedep ~deepseqdep ~transformerssetup-changedPVP: major bump suggested |
showing 5 of 30 versions
random >=1.2 && <2.0 1.3.0 → 1.3.1
| 2025-04-04 14:25 UTC | 1.3.1 | +15/−6 lines, 3 filesPVP ok |
| 2025-01-06 04:03 UTC | 1.3.0 | +2410/−538 lines, 16 filesdep +data-array-bytedep ~basedep ~transformersPVP ok |
| 2024-12-14 20:31 UTC | 1.2.1.3 | +22/−37 lines, 3 filesdep −doctestdep −mwc-randomdep −unliftiodep ~basedep ~containersdep ~primitivePVP ok |
| 2024-02-04 16:26 UTC | 1.2.1.2 | +17/−12 lines, 2 filesdep ~doctestdep ~tastyPVP: major bump suggested |
| 2022-05-09 02:32 UTC | 1.2.1.1 | +8/−9 lines, 3 filesdep −ghc-byteorderdep ~bytestringdep ~doctestdep ~mtlPVP ok |
showing 5 of 15 versions
Reverse dependencies
3 packages depend on pcg-random