packages feed

pykinos-containers-0.1.1.0: pykinos-containers.cabal

cabal-version:      3.0
name:               pykinos-containers
version:            0.1.1.0
synopsis:           Drop-in replacements for Data.IntSet, Data.IntMap, Data.Map
description:
    Drop-in replacements for Data.IntSet, Data.IntMap.Strict, and Data.Map.Strict
    backed by unboxed Roaring Bitmaps, 4-tier Adaptive Radix Trees (ART), and
    cache-blocked B+ trees with lawful unconstrained Functor/Foldable/Traversable.
license:            EUPL-1.2 OR Apache-2.0
license-files:      LICENSE
author:             Nadia Yvette Chambers
maintainer:         nadia.yvette.chambers@ik.me
category:           Data, Data Structures, Containers
build-type:         Simple
extra-doc-files:
    README.md
  , CHANGELOG.md
  , LICENSE

tested-with:
    GHC == 9.10.3
  , GHC == 9.12.4
  , GHC == 9.14.1

source-repository head
    type:     git
    location: https://github.com/NadiaYvette/pykinos.git
    subdir:   packages/pykinos-containers

common commons
    default-language:   Haskell2010
    default-extensions:
        BangPatterns
      , DataKinds
      , DerivingStrategies
      , FlexibleContexts
      , FlexibleInstances
      , GADTs
      , ScopedTypeVariables
      , TypeApplications
    ghc-options:
        -Wall
        -Wcompat
        -Wredundant-constraints

library
    import:             commons
    hs-source-dirs:     src
    exposed-modules:
        Pykinos.Containers.IntSet
      , Pykinos.Containers.IntMap.Strict
      , Pykinos.Containers.Map.Strict
    build-depends:
        base >= 4.18 && < 5
      , deepseq >= 1.4 && < 1.6
      , pykinos-core >= 0.1.0.0 && < 0.2

test-suite pykinos-containers-test
    import:             commons
    type:               exitcode-stdio-1.0
    hs-source-dirs:     test
    main-is:            Main.hs
    ghc-options:
        -threaded
        -rtsopts
        "-with-rtsopts=-N"
    build-depends:
        base >= 4.18 && < 5
      , containers >= 0.6 && < 0.9
      , deepseq >= 1.4 && < 1.6
      , pykinos-core >= 0.1.0.0 && < 0.2
      , pykinos-containers