-
Notifications
You must be signed in to change notification settings - Fork 1
/
stochastic.cabal
186 lines (155 loc) · 6.12 KB
/
stochastic.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
-- Initial stochastic.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
-- The name of the package.
name: stochastic
-- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- https://wiki.haskell.org/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.1.1.0
-- A short (one-line) description of the package.
synopsis: Monadic composition of probabilistic functions and sampling.
-- A longer description of the package.
description: This package allows the user to perform monadic composition of
probabilistic functions (i.e. functions that take values
and return distributions over values). These functions
can then be sampled from to generate datapoints.
-- URL for the project homepage or repository.
homepage: http://kevinl.io/posts/2016-08-24-sampling-monad.html
-- The license under which the package is released.
license: GPL-3
-- The file containing the license text.
license-file: LICENSE
-- The package author(s).
author: Kevin Li
-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer: hackage@mail.kevinl.io
-- A copyright notice.
-- copyright:
category: Math
build-type: Simple
-- Extra files to be distributed with the package, such as examples or a
-- README.
extra-source-files: ChangeLog.md
-- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.10
library
-- Modules exported by the library.
exposed-modules: Data.Stochastic
-- Data.Stochastic.Chart
Data.Stochastic.Types
Data.Stochastic.Internal
-- Modules included in this library but not exported.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
-- Other library packages from which modules are imported.
build-depends: base >=4.9 && <4.10,
-- Chart >=1.8 && <1.9,
-- Chart-cairo >=1.8 && <1.9,
containers >= 0.5 && <0.6,
random >=1.1 && <2,
mtl >=2.2 && <2.3
-- Directories containing source files.
hs-source-dirs: src
-- Base language which the package is written in.
default-language: Haskell2010
-- | Options to pass to ghc
-- ghc-options: -O2
source-repository head
type: git
location: git://github.com/kevin-li-195/stochastic.git
test-suite shadyGambler
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Test.hs
build-depends: base, stochastic, containers
default-language: Haskell2010
-- | Options to pass to ghc
-- ghc-options: -O2
-- -threaded
-- "-with-rtsopts=-N -p -s -h -i0.1"
test-suite monadLaws
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: MonadLaws.hs
build-depends: base, stochastic, random
default-language: Haskell2010
-- | Options to pass to ghc
-- ghc-options: -O2
-- -threaded
-- "-with-rtsopts=-N -pa-s -h -i0.1"
test-suite normal3
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Normal3.hs
build-depends: base, stochastic, random
default-language: Haskell2010
-- | Options to pass to ghc
ghc-options: -O2
-threaded
-- "-with-rtsopts=-N -pa -s -h -i0.1"
test-suite normal10
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Normal10.hs
build-depends: base, stochastic, random
default-language: Haskell2010
-- | Options to pass to ghc
ghc-options: -O2
-threaded
-- "-with-rtsopts=-N -pa -s -h -i0.1"
test-suite chart
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: ChartTest.hs
build-depends: base, stochastic, random, Chart-cairo, Chart, containers, mtl
default-language: Haskell2010
-- | Options to pass to ghc
ghc-options: -O2
-threaded
test-suite coolCharts
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: CoolCharts.hs
build-depends: base, stochastic, random, Chart-cairo, Chart, containers, mtl
default-language: Haskell2010
-- | Options to pass to ghc
ghc-options: -O2
-threaded
test-suite swindler
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Swindler.hs
build-depends: base, stochastic, containers, random
default-language: Haskell2010
-- | Options to pass to ghc
ghc-options: -O2
-threaded
test-suite montyHall
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: MontyHall.hs
build-depends: base, stochastic, containers, random, mtl
default-language: Haskell2010
-- | Options to pass to ghc
ghc-options: -O2
-threaded
test-suite contrivedGambler
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: ContrivedGambler.hs
build-depends: base, stochastic, random, Chart-cairo, Chart, containers, mtl
default-language: Haskell2010
-- | Options to pass to ghc
ghc-options: -O2
-threaded
test-suite beta
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Beta.hs
build-depends: base, stochastic, random, Chart-cairo, Chart, containers, mtl
default-language: Haskell2010