packages feed

lazyppl-1.1.0: lazyppl.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.39.6.
--
-- see: https://github.com/sol/hpack

name:           lazyppl
version:        1.1.0
synopsis:       Lazy Probabilistic Programming Library
description:    LazyPPL is a Haskell library for Bayesian probabilistic programming. It supports lazy use of probability, which is useful for specifying non-parametric models, and we provide new Metropolis-Hastings algorithms to allow this. For illustrations, see <https://lazyppl-team.github.io/>.
                .
                LazyPPL is pure Haskell and needs no BLAS or LAPACK installation.
category:       Statistics
stability:      experimental
homepage:       https://lazyppl-team.github.io/
bug-reports:    https://github.com/lazyppl-team/lazyppl/issues
author:         LazyPPL team
maintainer:     sam.staton@cs.ox.ac.uk
copyright:      2021-2026 LazyPPL team
license:        MIT
license-file:   LICENSE
build-type:     Simple
tested-with:
    GHC == 9.6.7
  , GHC == 9.12.4
  , GHC == 9.14.1
extra-source-files:
    README.md
    ChangeLog.md
    test/reference/beta-laws.tsv
    test/reference/beta-quantiles.tsv
    test/reference/dirichlet-sticks.tsv
    test/reference/log-densities.tsv
    test/reference/reference.py

source-repository head
  type: git
  location: https://github.com/lazyppl-team/lazyppl

library
  exposed-modules:
      LazyPPL
      LazyPPL.Distributions
      LazyPPL.Distributions.Counter
      LazyPPL.Distributions.DirichletP
      LazyPPL.Distributions.GP
      LazyPPL.Distributions.IBP
      LazyPPL.Distributions.Memoization
      LazyPPL.Distributions.Mondrian
      LazyPPL.Internal.History
      LazyPPL.Internal.Sampler
      LazyPPL.Distributions.GP.Pure
  hs-source-dirs:
      src
  build-depends:
      base >=4.18.3.0 && <4.23
    , containers >=0.6.7 && <0.9
    , log-domain >=0.13.2 && <0.14
    , math-functions >=0.3.4.2 && <0.4
    , random >=1.3.1 && <1.4
    , transformers >=0.6.1.0 && <0.7
    , vector >=0.13.2.0 && <0.14
  default-language: Haskell2010

test-suite api-test
  type: exitcode-stdio-1.0
  main-is: Api.hs
  other-modules:
      StrictMemo
      Api.Support
      Api.Domains
      Api.Distributions
      Api.Processes
      Api.Inference
  hs-source-dirs:
      test
  build-depends:
      QuickCheck >=2.19.0.0 && <2.20
    , base >=4.18.3.0 && <4.23
    , bytestring >=0.11.5.4 && <0.13
    , containers >=0.6.7 && <0.9
    , lazyppl
    , log-domain >=0.13.2 && <0.14
    , math-functions >=0.3.4.2 && <0.4
    , random >=1.3.1 && <1.4
    , transformers >=0.6.1.0 && <0.7
    , typed-process >=0.2.13.0 && <0.3
    , vector >=0.13.2.0 && <0.14
  default-language: Haskell2010

test-suite chain-test
  type: exitcode-stdio-1.0
  main-is: Chain.hs
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts
  build-depends:
      QuickCheck >=2.14.2 && <2.20
    , base >=4.18.3.0 && <4.23
    , containers >=0.6.7 && <0.9
    , deepseq >=1.4.8.1 && <1.6
    , lazyppl
    , log-domain >=0.13.2 && <0.14
    , math-functions >=0.3.4.2 && <0.4
    , mtl >=2.3.1 && <2.4
    , random >=1.3.1 && <1.4
    , transformers >=0.6.1.0 && <0.7
    , vector >=0.13.2.0 && <0.14
  default-language: Haskell2010

test-suite concurrency-test
  type: exitcode-stdio-1.0
  main-is: Concurrency.hs
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N2
  build-depends:
      base >=4.18.3.0 && <4.23
    , containers >=0.6.7 && <0.9
    , lazyppl
    , log-domain >=0.13.2 && <0.14
    , math-functions >=0.3.4.2 && <0.4
    , random >=1.3.1 && <1.4
    , transformers >=0.6.1.0 && <0.7
    , vector >=0.13.2.0 && <0.14
  default-language: Haskell2010

test-suite gp-test
  type: exitcode-stdio-1.0
  main-is: GaussianCondition.hs
  hs-source-dirs:
      test
  build-depends:
      QuickCheck >=2.14.2 && <2.20
    , base >=4.18.3.0 && <4.23
    , containers >=0.6.7 && <0.9
    , lazyppl
    , log-domain >=0.13.2 && <0.14
    , math-functions >=0.3.4.2 && <0.4
    , random >=1.3.1 && <1.4
    , transformers >=0.6.1.0 && <0.7
    , vector >=0.13.2.0 && <0.14
  default-language: Haskell2010

test-suite hidden-state-o2-test
  type: exitcode-stdio-1.0
  main-is: HiddenState.hs
  other-modules:
      KnownLimit
  hs-source-dirs:
      test
  ghc-options: -O2 -threaded -rtsopts -with-rtsopts=-N2
  build-depends:
      base >=4.18.3.0 && <4.23
    , containers >=0.6.7 && <0.9
    , lazyppl
    , log-domain >=0.13.2 && <0.14
    , math-functions >=0.3.4.2 && <0.4
    , random >=1.3.1 && <1.4
    , transformers >=0.6.1.0 && <0.7
    , vector >=0.13.2.0 && <0.14
  default-language: Haskell2010

test-suite hidden-state-test
  type: exitcode-stdio-1.0
  main-is: HiddenState.hs
  other-modules:
      KnownLimit
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N2
  build-depends:
      base >=4.18.3.0 && <4.23
    , containers >=0.6.7 && <0.9
    , lazyppl
    , log-domain >=0.13.2 && <0.14
    , math-functions >=0.3.4.2 && <0.4
    , random >=1.3.1 && <1.4
    , transformers >=0.6.1.0 && <0.7
    , vector >=0.13.2.0 && <0.14
  default-language: Haskell2010

test-suite logpdf-test
  type: exitcode-stdio-1.0
  main-is: TestLogPdf.hs
  hs-source-dirs:
      test
  build-depends:
      base >=4.18.3.0 && <4.23
    , containers >=0.6.7 && <0.9
    , lazyppl
    , log-domain >=0.13.2 && <0.14
    , math-functions >=0.3.4.2 && <0.4
    , random >=1.3.1 && <1.4
    , transformers >=0.6.1.0 && <0.7
    , vector >=0.13.2.0 && <0.14
  default-language: Haskell2010

test-suite replay-test
  type: exitcode-stdio-1.0
  main-is: Replay.hs
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N2
  build-depends:
      QuickCheck >=2.14.2 && <2.20
    , base >=4.18.3.0 && <4.23
    , containers >=0.6.7 && <0.9
    , lazyppl
    , log-domain >=0.13.2 && <0.14
    , math-functions >=0.3.4.2 && <0.4
    , random >=1.3.1 && <1.4
    , transformers >=0.6.1.0 && <0.7
    , vector >=0.13.2.0 && <0.14
  default-language: Haskell2010

test-suite stream-test
  type: exitcode-stdio-1.0
  main-is: Stream.hs
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-M256M
  build-depends:
      base >=4.18.3.0 && <4.23
    , containers >=0.6.7 && <0.9
    , lazyppl
    , log-domain >=0.13.2 && <0.14
    , math-functions >=0.3.4.2 && <0.4
    , random >=1.3.1 && <1.4
    , transformers >=0.6.1.0 && <0.7
    , vector >=0.13.2.0 && <0.14
  default-language: Haskell2010