algo-s-0.1.0.0: algo-s.cabal
name: algo-s
version: 0.1.0.0
cabal-version: >=1.10
build-type: Simple
license: Apache-2.0
license-file: LICENSE
copyright: 2016 Eric Rochester
maintainer: erochest@gmail.com
synopsis: An implementation of Knuth's algorithm S.
description:
An implementaiton of Knuth's algorithm S
(https://rosettacode.org/wiki/Knuth%27s_algorithm_S)
with a command-line utility for sampling from STDIN.
category: Data
author: Eric Rochester
source-repository head
type: git
location: https://github.com/erochest/algo-s
library
exposed-modules:
Data.Sample.AlgoS
Data.Sample.AlgoS.Types
build-depends:
base ==4.8.*,
foldl >=1.2.1 && <1.3,
mwc-random >=0.13.4.0 && <0.14,
primitive >=0.6.1.0 && <0.7,
unordered-containers >=0.2.7.1 && <0.3
default-language: Haskell2010
hs-source-dirs: src
executable sample
main-is: Main.hs
build-depends:
base >=4.8 && <5,
algo-s >=0.1.0.0 && <0.2,
bytestring >=0.10.6.0 && <0.11,
errors >=2.1.2 && <2.2,
mwc-random >=0.13.4.0 && <0.14,
optparse-applicative >=0.12.1.0 && <0.13
default-language: Haskell2010
hs-source-dirs: app
other-modules:
Actions
Opts
Types
ghc-options: -threaded -rtsopts -with-rtsopts=-N
test-suite algo-s-specs
type: exitcode-stdio-1.0
main-is: Specs.hs
build-depends:
base >=4.8.2.0 && <4.9,
algo-s >=0.1.0.0 && <0.2,
errors >=2.1.2 && <2.2,
foldl >=1.2.1 && <1.3,
mwc-random >=0.13.4.0 && <0.14,
QuickCheck >=2.8.2 && <2.9,
smallcheck >=1.1.1 && <1.2,
hspec >=2.2.3 && <2.3
default-language: Haskell2010
hs-source-dirs: specs
other-modules:
Data.Sample.AlgoSSpec
ghc-options: -threaded -rtsopts
benchmark algo-s-bench
type: exitcode-stdio-1.0
main-is: Bench.hs
build-depends:
base >=4.8.2.0 && <4.9,
algo-s >=0.1.0.0 && <0.2,
criterion >=1.1.1.0 && <1.2
default-language: Haskell2010
hs-source-dirs: bench
ghc-options: -threaded -rtsopts