[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
45/290: gnu: Add ghc-splitmix-bootstrap.
From: |
guix-commits |
Subject: |
45/290: gnu: Add ghc-splitmix-bootstrap. |
Date: |
Wed, 6 Nov 2019 08:22:25 -0500 (EST) |
samplet pushed a commit to branch wip-haskell-updates
in repository guix.
commit 3a400e1c3bc237e4a100af3cf5ff5101ae2ac4fa
Author: Timothy Sample <address@hidden>
Date: Thu Oct 31 22:59:23 2019 -0400
gnu: Add ghc-splitmix-bootstrap.
* gnu/packages/haskell-xyz.scm (ghc-splitmix-bootstrap): New variable.
---
gnu/packages/haskell-xyz.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index a8af19e..6499c53 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -9380,6 +9380,39 @@ splitting lists into parts, akin to the @code{split}
function found in several
mainstream languages.")
(license license:bsd-3)))
+(define-public ghc-splitmix-bootstrap
+ (package
+ (name "ghc-splitmix-bootstrap")
+ (version "0.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "splitmix/splitmix-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1k0amgkz7rvyz3lnw7m786ilnr1cibwhx9sc4qynq329gxan5r7w"))))
+ (properties '((hidden? #t)))
+ (build-system haskell-build-system)
+ (arguments `(#:tests? #f))
+ (inputs
+ `(("ghc-random" ,ghc-random)))
+ (home-page "http://hackage.haskell.org/package/splitmix")
+ (synopsis "Fast and splittable pseudorandom number generator")
+ (description "This package provides a Pure Haskell implementation of the
+SplitMix pseudorandom number generator. SplitMix is a ``splittable''
+pseudorandom number generator that is quite fast: 9 64-bit
+arithmetic/logical operations per 64 bits generated. SplitMix is tested
+with two standard statistical test suites (DieHarder and TestU01, this
+implementation only using the former) and it appears to be adequate for
+``everyday'' use, such as Monte Carlo algorithms and randomized data
+structures where speed is important. In particular, it @strong{should not
+be used for cryptographic or security applications}, because generated
+sequences of pseudorandom values are too predictable (the mixing functions
+are easily inverted, and two successive outputs suffice to reconstruct the
+internal state).")
+ (license license:bsd-3)))
+
(define-public ghc-statevar
(package
(name "ghc-statevar")
- 26/290: gnu: ghc-statevar: Update to 1.2., (continued)
- 26/290: gnu: ghc-statevar: Update to 1.2., guix-commits, 2019/11/06
- 28/290: gnu: ghc-fixed: Update to 0.3., guix-commits, 2019/11/06
- 29/290: gnu: ghc-th-lift: Update to 0.8.0.1., guix-commits, 2019/11/06
- 20/290: gnu: ghc-entropy: Update to 0.4.1.5., guix-commits, 2019/11/06
- 32/290: gnu: ghc-microlens-th: Update to 0.4.2.3., guix-commits, 2019/11/06
- 33/290: gnu: ghc-mmorph: Update to 1.1.3., guix-commits, 2019/11/06
- 34/290: gnu: ghc-foundation: Update to 0.0.25., guix-commits, 2019/11/06
- 36/290: gnu: ghc-generics-sop: Update to 0.4.0.1., guix-commits, 2019/11/06
- 37/290: gnu: ghc-tagged: Update to 0.8.6., guix-commits, 2019/11/06
- 42/290: gnu: ghc-unix-time: Update to 0.4.7., guix-commits, 2019/11/06
- 45/290: gnu: Add ghc-splitmix-bootstrap.,
guix-commits <=
- 51/290: gnu: ghc-hs-bibutils: Update to 6.7.0.0., guix-commits, 2019/11/06
- 56/290: gnu: ghc-optparse-applicative: Update to 0.14.3.0., guix-commits, 2019/11/06
- 58/290: gnu: ghc-th-reify-many: Update to 0.1.9., guix-commits, 2019/11/06
- 60/290: gnu: ghc-th-lift-instances: Update to 0.1.14., guix-commits, 2019/11/06
- 63/290: gnu: ghc-test-framework: Update Cabal file to r5., guix-commits, 2019/11/06
- 40/290: gnu: ghc-microlens-ghc: Update to 0.4.10., guix-commits, 2019/11/06
- 43/290: gnu: ghc-cmark-gfm: Update to 0.2.0., guix-commits, 2019/11/06
- 50/290: gnu: ghc-tagsoup: Update to 0.14.8., guix-commits, 2019/11/06
- 55/290: gnu: ghc-th-expand-syns: Update to 0.4.5.0., guix-commits, 2019/11/06
- 41/290: gnu: ghc-cmark: Update to 0.6., guix-commits, 2019/11/06