packages feed

cantor-pairing-0.1.1.0: cantor-pairing.cabal

cabal-version:       2.4
name:                cantor-pairing
version:             0.1.1.0
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:
  -- other-extensions:
  build-depends:       arithmoi ^>= 0.8.0.0
                     , base ^>=4.12.0.0
                     , containers ^>= 0.6.0.1
                     , integer-gmp ^>= 1.0.2.0
                     , integer-logarithms ^>= 1.0.2.2
  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
                , mtl >= 2.2.2
  build-tool-depends: hspec-discover:hspec-discover
  default-language:    Haskell2010