-
Notifications
You must be signed in to change notification settings - Fork 52
/
random.cabal
106 lines (95 loc) · 2.73 KB
/
random.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
cabal-version: >=1.10
name: random
version: 1.2
license: BSD3
license-file: LICENSE
maintainer: [email protected]
bug-reports: https://github.com/haskell/random/issues
synopsis: random number library
description:
This package provides a basic random number generation
library, including the ability to split random number
generators.
category: System
build-type: Custom
extra-source-files:
README.md
CHANGELOG.md
source-repository head
type: git
location: http://git.haskell.org/packages/random.git
custom-setup
setup-depends:
base >=4.10 && <5,
Cabal >=1.10 && <3.3,
cabal-doctest >=1.0.6 && <1.1
library
exposed-modules:
System.Random
System.Random.Internal
System.Random.Monad
c-sources: cbits/CastFloatWord.cmm
default-language: Haskell2010
ghc-options: -Wall
build-depends:
base >=4.10 && <5,
bytestring >=0.10 && <0.11,
mtl >=2.2 && <2.3,
splitmix >=0.0.3 && <0.1
test-suite legacy-test
type: exitcode-stdio-1.0
main-is: Legacy.hs
hs-source-dirs: test-legacy
other-modules:
T7936
TestRandomIOs
TestRandomRs
Random1283
RangeTest
default-language: Haskell2010
ghc-options: -with-rtsopts=-M4M -Wno-deprecations
build-depends:
base >=4.10 && <5,
containers >=0.5 && <0.7,
random -any
test-suite doctests
type: exitcode-stdio-1.0
main-is: doctests.hs
hs-source-dirs: test
default-language: Haskell2010
build-depends:
base >=4.10 && <5,
doctest >=0.15 && <0.17,
mwc-random >=0.13 && <0.15,
primitive >=0.6 && <0.8,
random -any,
unliftio >=0.2 && <0.3
test-suite spec
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
other-modules:
Spec.Range
Spec.Run
default-language: Haskell2010
ghc-options: -Wall
build-depends:
base >=4.10 && <5,
random -any,
smallcheck >=1.1 && <1.2,
tasty >=1.0 && <1.3,
tasty-smallcheck >=0.8 && <0.9,
tasty-expected-failure >=0.11 && <0.12
benchmark legacy-bench
type: exitcode-stdio-1.0
main-is: SimpleRNGBench.hs
hs-source-dirs: bench-legacy
other-modules: BinSearch
default-language: Haskell2010
ghc-options: -Wall -O2 -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.10 && <5,
random -any,
rdtsc -any,
split >=0.2 && <0.3,
time >=1.8 && <1.11