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
|
2022-02-20 15:20:09 +03:00
|
|
|
- QuickCheck >= 2.14.2
|
|
|
|
- splitmix >= 0.1.0.4
|
2022-03-22 23:45:25 +03:00
|
|
|
- data-default >= 0.7.1.1
|
2022-01-12 18:47:07 +03:00
|
|
|
|
|
|
|
library:
|
2022-03-26 18:06:50 +03:00
|
|
|
source-dirs: src
|
|
|
|
exposed-modules:
|
|
|
|
Data.Boltzmann
|
|
|
|
dependencies:
|
|
|
|
- generic-boltzmann-brain-internal
|
|
|
|
ghc-options:
|
|
|
|
- -O2
|
|
|
|
- -Wall
|
|
|
|
- -Wcompat
|
|
|
|
- -Wmissing-export-lists
|
|
|
|
- -Wincomplete-record-updates
|
|
|
|
- -Wincomplete-uni-patterns
|
|
|
|
- -Wredundant-constraints
|
|
|
|
- -Wno-name-shadowing
|
|
|
|
- -fwarn-missing-signatures
|
|
|
|
default-extensions:
|
|
|
|
LambdaCase
|
|
|
|
BangPatterns
|
|
|
|
DerivingVia
|
|
|
|
FlexibleInstances
|
|
|
|
UndecidableInstances
|
|
|
|
TypeApplications
|
|
|
|
ScopedTypeVariables
|
|
|
|
Rank2Types
|
|
|
|
|
|
|
|
internal-libraries:
|
|
|
|
generic-boltzmann-brain-internal:
|
|
|
|
source-dirs: internal
|
|
|
|
ghc-options:
|
|
|
|
- -O2
|
|
|
|
- -Wall
|
|
|
|
- -Wcompat
|
|
|
|
- -Wmissing-export-lists
|
|
|
|
- -Wincomplete-record-updates
|
|
|
|
- -Wincomplete-uni-patterns
|
|
|
|
- -Wredundant-constraints
|
|
|
|
- -Wno-name-shadowing
|
|
|
|
- -fwarn-missing-signatures
|
|
|
|
default-extensions:
|
|
|
|
LambdaCase
|
|
|
|
BangPatterns
|
|
|
|
DerivingVia
|
|
|
|
FlexibleInstances
|
|
|
|
UndecidableInstances
|
|
|
|
TypeApplications
|
|
|
|
ScopedTypeVariables
|
|
|
|
Rank2Types
|
2022-01-12 18:47:07 +03:00
|
|
|
|
2022-02-07 23:33:32 +03:00
|
|
|
executables:
|
|
|
|
binTreeProfile:
|
|
|
|
main: BinTreeProfile.hs
|
|
|
|
source-dirs: profile/BinTree
|
|
|
|
ghc-options:
|
|
|
|
- -O2
|
|
|
|
- -Wall
|
|
|
|
- -Wcompat
|
2022-02-18 21:26:20 +03:00
|
|
|
- -Wmissing-export-lists
|
2022-02-07 23:33:32 +03:00
|
|
|
- -Wincomplete-record-updates
|
|
|
|
- -Wincomplete-uni-patterns
|
|
|
|
- -Wredundant-constraints
|
2022-02-20 17:03:49 +03:00
|
|
|
- -Wno-name-shadowing
|
|
|
|
- -fwarn-missing-signatures
|
|
|
|
- -ddump-splices
|
|
|
|
dependencies:
|
|
|
|
- generic-boltzmann-brain
|
|
|
|
default-extensions:
|
2022-02-20 19:49:53 +03:00
|
|
|
NumericUnderscores
|
2022-02-20 17:03:49 +03:00
|
|
|
LambdaCase
|
|
|
|
BangPatterns
|
|
|
|
DerivingVia
|
|
|
|
FlexibleInstances
|
|
|
|
UndecidableInstances
|
|
|
|
TypeApplications
|
|
|
|
ScopedTypeVariables
|
|
|
|
Rank2Types
|
2022-02-24 21:47:40 +03:00
|
|
|
treeProfile:
|
|
|
|
main: TreeProfile.hs
|
|
|
|
source-dirs: profile/Tree
|
|
|
|
ghc-options:
|
|
|
|
- -O2
|
|
|
|
- -Wall
|
|
|
|
- -Wcompat
|
|
|
|
- -Wmissing-export-lists
|
|
|
|
- -Wincomplete-record-updates
|
|
|
|
- -Wincomplete-uni-patterns
|
|
|
|
- -Wredundant-constraints
|
|
|
|
- -Wno-name-shadowing
|
|
|
|
- -fwarn-missing-signatures
|
|
|
|
- -ddump-splices
|
|
|
|
dependencies:
|
|
|
|
- generic-boltzmann-brain
|
|
|
|
default-extensions:
|
|
|
|
NumericUnderscores
|
|
|
|
LambdaCase
|
|
|
|
BangPatterns
|
|
|
|
DerivingVia
|
|
|
|
FlexibleInstances
|
|
|
|
UndecidableInstances
|
|
|
|
TypeApplications
|
|
|
|
ScopedTypeVariables
|
|
|
|
Rank2Types
|
2022-02-20 17:03:49 +03:00
|
|
|
lambdaProfile:
|
|
|
|
main: LambdaProfile.hs
|
|
|
|
source-dirs: profile/Lambda
|
|
|
|
ghc-options:
|
|
|
|
- -O2
|
|
|
|
- -Wall
|
|
|
|
- -Wcompat
|
|
|
|
- -Wmissing-export-lists
|
|
|
|
- -Wincomplete-record-updates
|
|
|
|
- -Wincomplete-uni-patterns
|
|
|
|
- -Wredundant-constraints
|
2022-02-07 23:33:32 +03:00
|
|
|
- -Wno-name-shadowing
|
|
|
|
- -fwarn-missing-signatures
|
|
|
|
- -ddump-splices
|
|
|
|
dependencies:
|
|
|
|
- generic-boltzmann-brain
|
2022-02-20 15:20:09 +03:00
|
|
|
default-extensions:
|
2022-02-20 19:49:53 +03:00
|
|
|
NumericUnderscores
|
2022-02-20 15:20:09 +03:00
|
|
|
LambdaCase
|
|
|
|
BangPatterns
|
|
|
|
DerivingVia
|
|
|
|
FlexibleInstances
|
|
|
|
UndecidableInstances
|
|
|
|
TypeApplications
|
|
|
|
ScopedTypeVariables
|
|
|
|
Rank2Types
|
2022-02-07 23:33:32 +03:00
|
|
|
|
2022-01-12 18:47:07 +03:00
|
|
|
tests:
|
|
|
|
generic-boltzmann-brain-test:
|
|
|
|
main: Spec.hs
|
|
|
|
source-dirs: test
|
|
|
|
ghc-options:
|
|
|
|
- -O2
|
|
|
|
- -Wall
|
|
|
|
- -Wcompat
|
2022-02-18 21:26:20 +03:00
|
|
|
- -Wmissing-export-lists
|
2022-01-12 18:47:07 +03:00
|
|
|
- -Wincomplete-record-updates
|
|
|
|
- -Wincomplete-uni-patterns
|
|
|
|
- -Wredundant-constraints
|
|
|
|
- -Wno-name-shadowing
|
|
|
|
- -fwarn-missing-signatures
|
|
|
|
dependencies:
|
2022-03-26 18:06:50 +03:00
|
|
|
- generic-boltzmann-brain-internal
|
2022-01-12 18:47:07 +03:00
|
|
|
- generic-boltzmann-brain
|
|
|
|
- tasty >= 1.4.2
|
|
|
|
- tasty-hunit >= 0.10.0
|
|
|
|
- tasty-quickcheck >= 0.10.0
|
|
|
|
- QuickCheck >= 2.14.2
|
2022-02-20 15:20:09 +03:00
|
|
|
default-extensions:
|
|
|
|
LambdaCase
|
|
|
|
BangPatterns
|
|
|
|
DerivingVia
|
|
|
|
FlexibleInstances
|
|
|
|
UndecidableInstances
|
|
|
|
TypeApplications
|
|
|
|
ScopedTypeVariables
|
|
|
|
Rank2Types
|