packages feed

cantor-pairing-0.2.0.2: cantor-pairing.cabal

cabal-version:       2.4
name:                cantor-pairing
version:             0.2.0.2
synopsis:            Convert data to and from a natural number representation
description:         Convert data to and from a natural number representation conveniently using GHC Generics.
homepage:            https://github.com/identicalsnowflake/cantor-pairing
bug-reports:         https://github.com/identicalsnowflake/cantor-pairing/issues
license:             MIT
license-file:        LICENSE
author:              Identical Snowflake
maintainer:          identicalsnowflake@protonmail.com
copyright:           2018
category:            Data
extra-source-files:  CHANGELOG.md

source-repository head
  type:     git
  location: https://github.com/identicalsnowflake/cantor-pairing

library
  exposed-modules:
      Cantor
  other-modules:
      Cantor.Huge
  build-depends:       base >= 4.12.0.0 && < 5
                     , containers >= 0.6.0.1 && < 0.7
                     , integer-gmp >= 1.0.2.0 && < 1.2
                     , integer-logarithms >= 1.0.2.2 && < 2.0
                     , integer-roots >= 1.0 && < 1.1
  hs-source-dirs:      src
  ghc-options: -Wall -Wextra
  default-language:    Haskell2010

test-suite spec
  ghc-options: -threaded -rtsopts -Wall -Wextra
  type: exitcode-stdio-1.0
  main-is: test/Spec.hs
  build-depends:
                  base
                , cantor-pairing
                , containers
                , hspec >= 2 && < 3
  build-tool-depends: hspec-discover:hspec-discover
  default-language:    Haskell2010