2022-01-12 18:47:07 +03:00
|
|
|
name: generic-boltzmann-brain
|
|
|
|
version: 0.1.0.0
|
|
|
|
github: "maciej-bendkowski/generic-boltzmann-brain"
|
|
|
|
license: BSD3
|
|
|
|
author: "Maciej Bendkowski"
|
|
|
|
maintainer: "maciej.bendkowski@gmail.com"
|
|
|
|
copyright: "2022 Maciej Bendkowski"
|
|
|
|
|
|
|
|
extra-source-files:
|
|
|
|
- README.md
|
|
|
|
|
|
|
|
# Metadata used when publishing your package
|
2022-01-14 18:59:13 +03:00
|
|
|
synopsis: Analytic sampler framework for algebraic data types
|
|
|
|
category: Data, Generic, Random
|
2022-01-12 18:47:07 +03:00
|
|
|
|
|
|
|
# To avoid duplicated efforts in documentation and dealing with the
|
|
|
|
# complications of embedding Haddock markup inside cabal files, it is
|
|
|
|
# common to point users to the README.md file.
|
|
|
|
description: Please see the README on GitHub at <https://github.com/maciej-bendkowski/generic-boltzmann-brain#readme>
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
- base >= 4.7 && < 5
|
|
|
|
- containers >= 0.6.4
|
|
|
|
- vector >= 0.12.3.1
|
|
|
|
- random >= 1.2.0
|
|
|
|
- transformers >= 0.5.6
|
2022-01-14 18:10:03 +03:00
|
|
|
- template-haskell >= 2.17.0.0
|
2022-01-12 18:47:07 +03:00
|
|
|
- th-abstraction >= 0.4.3.0
|
|
|
|
- th-lift-instances >= 0.1.18
|
2022-02-14 22:22:05 +03:00
|
|
|
- th-lift >= 0.8.2
|
2022-01-12 18:47:07 +03:00
|
|
|
- mtl >= 2.2.2
|
|
|
|
- paganini-hs >= 0.3.0.0
|
|
|
|
|
|
|
|
library:
|
|
|
|
source-dirs: src
|
|
|
|
ghc-options:
|
|
|
|
- -O2
|
|
|
|
- -Wall
|
|
|
|
- -Wcompat
|
|
|
|
- -Wincomplete-record-updates
|
|
|
|
- -Wincomplete-uni-patterns
|
|
|
|
- -Wredundant-constraints
|
|
|
|
- -Wno-name-shadowing
|
|
|
|
- -fwarn-missing-signatures
|
|
|
|
- -ddump-splices
|
|
|
|
|
2022-02-07 23:33:32 +03:00
|
|
|
executables:
|
|
|
|
binTreeProfile:
|
|
|
|
main: BinTreeProfile.hs
|
|
|
|
source-dirs: profile/BinTree
|
|
|
|
ghc-options:
|
|
|
|
- -O2
|
|
|
|
- -Wall
|
|
|
|
- -Wcompat
|
|
|
|
- -Wincomplete-record-updates
|
|
|
|
- -Wincomplete-uni-patterns
|
|
|
|
- -Wredundant-constraints
|
|
|
|
- -Wno-name-shadowing
|
|
|
|
- -fwarn-missing-signatures
|
|
|
|
- -ddump-splices
|
|
|
|
dependencies:
|
|
|
|
- generic-boltzmann-brain
|
|
|
|
|
2022-01-14 18:55:15 +03:00
|
|
|
benchmarks:
|
2022-01-23 22:03:52 +03:00
|
|
|
binTree:
|
2022-01-14 18:10:03 +03:00
|
|
|
main: BinTreeBenchmark.hs
|
2022-01-23 22:03:52 +03:00
|
|
|
source-dirs: benchmark/BinTree
|
2022-01-14 18:10:03 +03:00
|
|
|
ghc-options:
|
|
|
|
- -O2
|
|
|
|
- -Wall
|
|
|
|
- -Wcompat
|
|
|
|
- -Wincomplete-record-updates
|
|
|
|
- -Wincomplete-uni-patterns
|
|
|
|
- -Wredundant-constraints
|
|
|
|
- -Wno-name-shadowing
|
|
|
|
- -fwarn-missing-signatures
|
|
|
|
- -ddump-splices
|
|
|
|
dependencies:
|
|
|
|
- generic-boltzmann-brain
|
|
|
|
- criterion >= 1.5.12.0
|
|
|
|
- deepseq >= 1.4.5.0
|
|
|
|
|
2022-01-12 18:47:07 +03:00
|
|
|
tests:
|
|
|
|
generic-boltzmann-brain-test:
|
|
|
|
main: Spec.hs
|
|
|
|
source-dirs: test
|
|
|
|
ghc-options:
|
|
|
|
- -O2
|
|
|
|
- -Wall
|
|
|
|
- -Wcompat
|
|
|
|
- -Wincomplete-record-updates
|
|
|
|
- -Wincomplete-uni-patterns
|
|
|
|
- -Wredundant-constraints
|
|
|
|
- -Wno-name-shadowing
|
|
|
|
- -fwarn-missing-signatures
|
|
|
|
- -ddump-splices
|
|
|
|
dependencies:
|
|
|
|
- generic-boltzmann-brain
|
|
|
|
- tasty >= 1.4.2
|
|
|
|
- tasty-hunit >= 0.10.0
|
|
|
|
- tasty-quickcheck >= 0.10.0
|
|
|
|
- QuickCheck >= 2.14.2
|