packages feed

data-sketches-0.4.0.1: data-sketches.cabal

cabal-version: 1.18

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

name:           data-sketches
version:        0.4.0.1
synopsis:       Stochastic streaming algorithms for approximate computation on large datasets. Includes KLL, HLL, Theta, Count-Min, and REQ sketches.
description:    Please see the README on GitHub at <https://github.com/iand675/datasketches-haskell#readme>
category:       Data
homepage:       https://github.com/iand675/datasketches-haskell#readme
bug-reports:    https://github.com/iand675/datasketches-haskell/issues
author:         Ian Duncan, Rob Bassi
maintainer:     ian@iankduncan.com
copyright:      2025 Ian Duncan, Rob Bassi, Mercury Technologies
license:        Apache
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md
extra-doc-files:
    docs/images/KllErrorK100SL11.png
    docs/images/ReqErrorHraK12SL11_LT.png
    docs/images/ReqErrorLraK12SL11_LE.png

source-repository head
  type: git
  location: https://github.com/iand675/datasketches-haskell

library
  exposed-modules:
      DataSketches.Quantiles.RelativeErrorQuantile
      DataSketches.Quantiles.KLL
      DataSketches.Frequencies.CountMin
      DataSketches.Distinct.HyperLogLog
      DataSketches.Distinct.Theta
  other-modules:
      Paths_data_sketches
  hs-source-dirs:
      src
  default-extensions:
      BangPatterns
      FlexibleInstances
      RecordWildCards
      ScopedTypeVariables
      StandaloneDeriving
      TypeFamilies
      TypeOperators
  build-depends:
      base >=4.7 && <5
    , data-sketches-core ==0.3.*
    , ghc-prim
    , primitive
    , vector
  default-language: Haskell2010

test-suite data-sketches-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      BugFixSpec
      CountMinSpec
      CrossValidationSpec
      HyperLogLogSpec
      KllSpec
      ProofCheckSpec
      RelativeErrorQuantileSpec
      ThetaSpec
      Paths_data_sketches
  hs-source-dirs:
      test
  default-extensions:
      BangPatterns
      FlexibleInstances
      RecordWildCards
      ScopedTypeVariables
      StandaloneDeriving
      TypeFamilies
      TypeOperators
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      QuickCheck
    , base >=4.7 && <5
    , data-sketches
    , data-sketches-core
    , directory
    , ghc-prim
    , hedgehog
    , hspec
    , pretty-show
    , primitive
    , process
    , statistics
    , temporary
    , vector
  default-language: Haskell2010

benchmark bench
  type: exitcode-stdio-1.0
  main-is: Bench.hs
  other-modules:
      Paths_data_sketches
  hs-source-dirs:
      bench
  default-extensions:
      BangPatterns
      FlexibleInstances
      RecordWildCards
      ScopedTypeVariables
      StandaloneDeriving
      TypeFamilies
      TypeOperators
  ghc-options: -threaded -rtsopts -with-rtsopts=-N -O2
  build-depends:
      base >=4.7 && <5
    , criterion
    , data-sketches
    , data-sketches-core
    , ghc-prim
    , primitive
    , vector
  default-language: Haskell2010