-
Notifications
You must be signed in to change notification settings - Fork 1
/
urn-random.cabal
64 lines (55 loc) · 2.47 KB
/
urn-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
-- Initial urn-random.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/
name: urn-random
version: 0.1.0.1
synopsis: A package for updatable discrete distributions
homepage: https://github.com/antalsz/urn-random
license: MIT
license-file: LICENSE
author: Leonidas Lampropoulos, Antal Spector-Zabusky, Kenneth Foner
maintainer: Antal Spector-Zabusky <[email protected]>
copyright: Copyright © 2016–2017 Leonidas Lampropoulos, Antal Spector-Zabusky, and Kenneth Foner
category: Data
build-type: Simple
extra-source-files: README.md, stack.yaml
cabal-version: >=1.10
description:
This package implements /urns/, which are a simple tree-based data structure
that supports sampling from and updating discrete probability distributions in
logarithmic time. The details are presented in the paper “Ode on a Random Urn
(Functional Pearl)”, by Leonidas Lampropoulos, Antal Spector-Zabusky, and
Kenneth Foner, published in Haskell Symposium ’17.
source-repository head
type: git
location: https://github.com/antalsz/urn-random.git
library
exposed-modules: Data.Urn
, Data.Urn.Index
, Data.Urn.Common
, Data.Urn.QQ
-- Internal details
, Data.Urn.MonadSample
, Data.Urn.QQ.ParseExp
, Data.Urn.Internal
, Data.Urn.Internal.AlmostPerfect
hs-source-dirs: src
build-depends: base >=4.9
-- 'NFData' instances
, deepseq >=1.4
-- For the quasi-quoter
, template-haskell >=2.11
, haskell-src-meta >=0.6
-- For 'MonadSample' instances
, MonadRandom >=0.4
, QuickCheck >=2.8
, transformers >=0.5
-- For 'intLog2#'
, integer-gmp >=1.0.0
default-language: Haskell2010
other-extensions: LambdaCase
, DefaultSignatures, GeneralizedNewtypeDeriving
, PatternSynonyms
, MagicHash, UnboxedTuples
, TemplateHaskellQuotes
ghc-options: -Wall -fno-warn-name-shadowing
-O2 -funbox-strict-fields