123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- cabal-version: 2.2
- name: finitary
- version: 2.0.0.0
- synopsis: A better, more type-safe Enum.
- description:
- Provides a type class witnessing that a type has
- finitely-many inhabitants, as well as its cardinality.
- Also provides an auto-deriving framework using GHC
- Generics, together with a range of instances for existing
- types.
- homepage: https://notabug.org/koz.ross/finitary
- bug-reports: https://notabug.org/koz.ross/finitary/issues
- license: GPL-3.0-or-later
- license-file: LICENSE.md
- author: Koz Ross
- maintainer: koz.ross@retro-freedom.nz
- copyright: (C) Koz Ross 2019-2020
- category: Data
- build-type: Simple
- tested-with: GHC ==8.6.5 || ==8.8.3 || ==8.10.1
- extra-source-files:
- CHANGELOG.md
- README.md
- LICENSE.md
- flag bitvec
- description: Include 'bitvec' instances
- default: True
- manual: False
- flag vector
- description: Include 'vector' instances
- default: True
- manual: False
- source-repository head
- type: git
- location: git://notabug.org/koz.ross/finitary.git
- library
- exposed-modules: Data.Finitary
- other-modules: Data.Finitary.TH
- build-depends:
- , base >=4.12 && <5
- , finite-typelits ^>=0.1.4.2
- , ghc-typelits-knownnat ^>=0.7.2
- , ghc-typelits-natnormalise ^>=0.7.2
- , template-haskell >=2.14.0.0 && <3.0.0.0
- , typelits-witnesses ^>=0.4.0.0
- if flag(bitvec)
- cpp-options:
- -DBITVEC
- build-depends:
- , bitvec ^>=1.0.3.0
- if flag(vector)
- cpp-options:
- -DVECTOR
- build-depends:
- , primitive ^>=0.7.0.1
- , vector ^>=0.12.1.2
- , vector-sized ^>=1.4.1.0
- hs-source-dirs: src
- ghc-options:
- -Wall -Wcompat -Wincomplete-record-updates
- -Wincomplete-uni-patterns -Wredundant-constraints
- default-language: Haskell2010
- test-suite tests
- type: exitcode-stdio-1.0
- main-is: Main.hs
- other-modules:
- Data.Finitary
- Data.Finitary.TH
- build-depends:
- , base
- , bitvec
- , finite-typelits
- , ghc-typelits-knownnat
- , ghc-typelits-natnormalise
- , hedgehog ^>=1.0.2
- , hspec ^>=2.7.1
- , hspec-hedgehog ^>=0.0.1.2
- , primitive
- , template-haskell
- , typelits-witnesses
- , vector
- , vector-sized
- hs-source-dirs: test src
- ghc-options:
- -Wall -Wcompat -Wincomplete-record-updates
- -Wincomplete-uni-patterns -Wredundant-constraints -O2 -threaded
- -with-rtsopts=-N
- default-language: Haskell2010
|