packages feed

simple-enumeration-0.3: simple-enumeration.cabal

cabal-version: 1.12

name:           simple-enumeration
version:        0.3
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
tested-with: GHC ==9.4.8 || ==9.6.6 || ==9.8.4 || ==9.10.1 || ==9.12.1

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

library
  exposed-modules:      Data.Enumeration
                        Data.Enumeration.Invertible
                        Data.CoEnumeration
                        Data.ProEnumeration
  hs-source-dirs:       src
  build-depends:        base >=4.7 && <5, integer-gmp, contravariant
  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