urn-random-0.1.0.0: urn-random.cabal
-- 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.0
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 <antal.b.sz@gmail.com>
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