cabal-version: 1.12

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

name:           bitwise-enum
version:        1.0.1.2
x-revision:     1
synopsis:       Bitwise operations on bounded enumerations
description:    Bitwise operations on bounded enumerations.
                .
                ["Data.Enum.Set"] Constant-time sets using bit flags.
                .
                ["Data.Enum.Memo"] Constant-time lookup memoization for functions on enumerated types.
category:       Data, Data Structures, Foreign
homepage:       https://github.com/jnbooth/bitwise-enum
bug-reports:    https://github.com/jnbooth/bitwise-enum/issues
author:         Joshua Booth <joshua.n.booth@gmail.com>
maintainer:     Joshua Booth <joshua.n.booth@gmail.com>
license:        BSD3
license-file:   LICENSE
build-type:     Simple
tested-with:
    GHC ==9.4.8
 || ==8.6.1
 || ==8.6.5
 || ==8.8.4
 || ==8.10.7
 || ==9.0.2
 || ==9.2.8
 || ==9.4.5
 || ==9.6.2


source-repository head
  type: git
  location: https://github.com/jnbooth/bitwise-enum

library
  exposed-modules:
      Data.Enum.Memo
      Data.Enum.Set
      Data.Enum.Set.Base
  other-modules:
      Paths_bitwise_enum
  hs-source-dirs:
      ./
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -ferror-spans -funbox-small-strict-fields -O2
  build-depends:
      aeson >=0.11 && <2.3
    , array >=0.5.1 && <0.6
    , base >=4.12 && <5
    , deepseq >=1.1 && <1.7
    , mono-traversable >=1.0.12 && <1.1
    , vector >=0.11 && <0.14
  default-language: Haskell2010

test-suite enumset-test-suite
  type: exitcode-stdio-1.0
  main-is: set-properties.hs
  other-modules:
      Paths_bitwise_enum
  hs-source-dirs:
      tests
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -ferror-spans -funbox-small-strict-fields
  build-depends:
      QuickCheck >=2.13.2
    , aeson >=0.11 && <2.3
    , array >=0.5.1 && <0.6
    , base
    , bitwise-enum
    , deepseq >=1.1 && <1.7
    , mono-traversable >=1.0.12 && <1.1
    , test-framework >=0.8.2.0
    , test-framework-quickcheck2 >=0.3.0.5
    , vector >=0.11 && <0.14
  default-language: Haskell2010

benchmark enumset-benchmarks
  type: exitcode-stdio-1.0
  main-is: EnumSet.hs
  other-modules:
      Paths_bitwise_enum
  hs-source-dirs:
      benchmarks
  ghc-options: -Wall -Wcompat -Widentities -Wincomplete-uni-patterns -Wincomplete-record-updates -ferror-spans -funbox-small-strict-fields -rtsopts -threaded -with-rtsopts=-N -O2
  build-depends:
      aeson >=0.11 && <2.3
    , array >=0.5.1 && <0.6
    , base
    , bitwise-enum
    , deepseq >=1.1 && <1.7
    , gauge >=0.2.5
    , mono-traversable >=1.0.12 && <1.1
    , vector >=0.11 && <0.14
    , wide-word >=0.1.0.9
  default-language: Haskell2010