forked from pool/ghc-mwc-random
osc copypac from project:devel:languages:haskell:ghc-9.6.x package:ghc-mwc-random revision:5, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-mwc-random?expand=0&rev=33
This commit is contained in:
@@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Thu Nov 16 13:26:32 UTC 2023 - Peter Simons <psimons@suse.com>
|
|
||||||
|
|
||||||
- Strip CRLF line endings from the bundled Cabal file.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 30 17:07:39 UTC 2023 - Peter Simons <psimons@suse.com>
|
Thu Mar 30 17:07:39 UTC 2023 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
224
mwc-random.cabal
224
mwc-random.cabal
@@ -1,112 +1,112 @@
|
|||||||
name: mwc-random
|
name: mwc-random
|
||||||
version: 0.15.0.2
|
version: 0.15.0.2
|
||||||
x-revision: 1
|
x-revision: 1
|
||||||
synopsis: Fast, high quality pseudo random number generation
|
synopsis: Fast, high quality pseudo random number generation
|
||||||
description:
|
description:
|
||||||
This package contains code for generating high quality random
|
This package contains code for generating high quality random
|
||||||
numbers that follow either a uniform or normal distribution. The
|
numbers that follow either a uniform or normal distribution. The
|
||||||
generated numbers are suitable for use in statistical applications.
|
generated numbers are suitable for use in statistical applications.
|
||||||
.
|
.
|
||||||
The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)
|
The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)
|
||||||
multiply-with-carry generator, which has a period of 2^8222 and
|
multiply-with-carry generator, which has a period of 2^8222 and
|
||||||
fares well in tests of randomness. It is also extremely fast,
|
fares well in tests of randomness. It is also extremely fast,
|
||||||
between 2 and 3 times faster than the Mersenne Twister.
|
between 2 and 3 times faster than the Mersenne Twister.
|
||||||
.
|
.
|
||||||
Compared to the mersenne-random package, this package has a more
|
Compared to the mersenne-random package, this package has a more
|
||||||
convenient API, is faster, and supports more statistical
|
convenient API, is faster, and supports more statistical
|
||||||
distributions.
|
distributions.
|
||||||
|
|
||||||
license: BSD3
|
license: BSD3
|
||||||
license-file: LICENSE
|
license-file: LICENSE
|
||||||
homepage: https://github.com/bos/mwc-random
|
homepage: https://github.com/bos/mwc-random
|
||||||
bug-reports: https://github.com/bos/mwc-random/issues
|
bug-reports: https://github.com/bos/mwc-random/issues
|
||||||
author: Bryan O'Sullivan <bos@serpentine.com>
|
author: Bryan O'Sullivan <bos@serpentine.com>
|
||||||
maintainer: Bryan O'Sullivan <bos@serpentine.com>
|
maintainer: Bryan O'Sullivan <bos@serpentine.com>
|
||||||
copyright: 2009, 2010, 2011 Bryan O'Sullivan
|
copyright: 2009, 2010, 2011 Bryan O'Sullivan
|
||||||
category: Math, Statistics
|
category: Math, Statistics
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
cabal-version: >= 1.10
|
cabal-version: >= 1.10
|
||||||
extra-source-files:
|
extra-source-files:
|
||||||
changelog.md
|
changelog.md
|
||||||
README.markdown
|
README.markdown
|
||||||
|
|
||||||
tested-with:
|
tested-with:
|
||||||
GHC ==7.10.3
|
GHC ==7.10.3
|
||||||
|| ==8.0.2
|
|| ==8.0.2
|
||||||
|| ==8.2.2
|
|| ==8.2.2
|
||||||
|| ==8.4.4
|
|| ==8.4.4
|
||||||
|| ==8.6.5
|
|| ==8.6.5
|
||||||
|| ==8.8.3
|
|| ==8.8.3
|
||||||
|| ==8.10.1
|
|| ==8.10.1
|
||||||
, GHCJS ==8.4
|
, GHCJS ==8.4
|
||||||
|
|
||||||
library
|
library
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
exposed-modules: System.Random.MWC
|
exposed-modules: System.Random.MWC
|
||||||
System.Random.MWC.Distributions
|
System.Random.MWC.Distributions
|
||||||
System.Random.MWC.CondensedTable
|
System.Random.MWC.CondensedTable
|
||||||
System.Random.MWC.SeedSource
|
System.Random.MWC.SeedSource
|
||||||
build-depends: base >= 4.8 && < 5
|
build-depends: base >= 4.8 && < 5
|
||||||
, primitive >= 0.6.2
|
, primitive >= 0.6.2
|
||||||
, random >= 1.2
|
, random >= 1.2
|
||||||
, time
|
, time
|
||||||
, vector >= 0.7
|
, vector >= 0.7
|
||||||
, math-functions >= 0.2.1.0
|
, math-functions >= 0.2.1.0
|
||||||
|
|
||||||
ghc-options: -Wall -funbox-strict-fields -fwarn-tabs
|
ghc-options: -Wall -funbox-strict-fields -fwarn-tabs
|
||||||
|
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
type: git
|
type: git
|
||||||
location: git://github.com/bos/mwc-random
|
location: git://github.com/bos/mwc-random
|
||||||
|
|
||||||
source-repository head
|
source-repository head
|
||||||
type: mercurial
|
type: mercurial
|
||||||
location: https://bitbucket.org/bos/mwc-random
|
location: https://bitbucket.org/bos/mwc-random
|
||||||
|
|
||||||
|
|
||||||
benchmark mwc-bench
|
benchmark mwc-bench
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
hs-source-dirs: bench
|
hs-source-dirs: bench
|
||||||
main-is: Benchmark.hs
|
main-is: Benchmark.hs
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
build-depends: base < 5
|
build-depends: base < 5
|
||||||
, vector >= 0.11
|
, vector >= 0.11
|
||||||
, gauge >= 0.2.5
|
, gauge >= 0.2.5
|
||||||
, mersenne-random
|
, mersenne-random
|
||||||
, mwc-random
|
, mwc-random
|
||||||
, random
|
, random
|
||||||
|
|
||||||
|
|
||||||
test-suite mwc-prop-tests
|
test-suite mwc-prop-tests
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
hs-source-dirs: tests
|
hs-source-dirs: tests
|
||||||
main-is: props.hs
|
main-is: props.hs
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
ghc-options:
|
ghc-options:
|
||||||
-Wall -threaded -rtsopts
|
-Wall -threaded -rtsopts
|
||||||
|
|
||||||
build-depends: base
|
build-depends: base
|
||||||
, mwc-random
|
, mwc-random
|
||||||
, QuickCheck >=2.2
|
, QuickCheck >=2.2
|
||||||
, vector >=0.12.1
|
, vector >=0.12.1
|
||||||
, tasty >=1.3.1
|
, tasty >=1.3.1
|
||||||
, tasty-quickcheck
|
, tasty-quickcheck
|
||||||
, tasty-hunit
|
, tasty-hunit
|
||||||
|
|
||||||
test-suite mwc-doctests
|
test-suite mwc-doctests
|
||||||
type: exitcode-stdio-1.0
|
type: exitcode-stdio-1.0
|
||||||
main-is: doctests.hs
|
main-is: doctests.hs
|
||||||
hs-source-dirs: tests
|
hs-source-dirs: tests
|
||||||
default-language: Haskell2010
|
default-language: Haskell2010
|
||||||
if impl(ghcjs) || impl(ghc < 8.0)
|
if impl(ghcjs) || impl(ghc < 8.0)
|
||||||
Buildable: False
|
Buildable: False
|
||||||
build-depends:
|
build-depends:
|
||||||
base -any
|
base -any
|
||||||
, mwc-random -any
|
, mwc-random -any
|
||||||
, doctest >=0.15 && <0.20
|
, doctest >=0.15 && <0.20
|
||||||
--
|
--
|
||||||
, bytestring
|
, bytestring
|
||||||
, primitive
|
, primitive
|
||||||
, vector >=0.11
|
, vector >=0.11
|
||||||
, random >=1.2
|
, random >=1.2
|
||||||
|
Reference in New Issue
Block a user