cabal-version: 1.12

name:           simple-enumeration
version:        0.2.1
synopsis:       Finite or countably infinite sequences of values.
description:    Finite or countably infinite sequences of values,
                supporting efficient indexing and random sampling.
category:       Data
homepage:       https://github.com/byorgey/enumeration#readme
bug-reports:    https://github.com/byorgey/enumeration/issues
author:         Brent Yorgey
maintainer:     byorgey@gmail.com
copyright:      2019 Brent Yorgey
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
  type: git
  location: https://github.com/byorgey/enumeration

library
  exposed-modules:      Data.Enumeration
                        Data.Enumeration.Invertible
  hs-source-dirs:       src
  build-depends:        base >=4.7 && <5, integer-gmp
  default-language:     Haskell2010

test-suite doctests
  type: exitcode-stdio-1.0
  main-is: doctests.hs
  hs-source-dirs: test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5, doctest >= 0.8
  default-language: Haskell2010