packages feed

typed-digits-0.1.0.0: typed-digits.cabal

name:           typed-digits
version:        0.1.0.0
synopsis:       Digits, indexed by their base at the type level
description:    Digits, indexed by their base at the type level.
                .
                Please see the README, for more details, available on GitHub at <https://github.com/arranstewart/hs-typed-digits#readme>.
category:       Data
homepage:       https://github.com/arranstewart/hs-typed-digits#readme
bug-reports:    https://github.com/arranstewart/hs-typed-digits/issues
author:         Arran Stewart
maintainer:     haskell-maintenance@arranstewart.info
copyright:      2019 Arran Stewart
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md
cabal-version: >= 1.10
tested-with: GHC ==8.6.5 || ==8.4.4 || ==8.2.2

source-repository head
  type: git
  location: https://github.com/arranstewart/hs-typed-digits

Flag Noisy
    Description: Enable more compilation warnings
    Manual: True
    Default: False

library
  exposed-modules:
      Data.TypedDigits
      Data.TypedDigits.Internal
  hs-source-dirs:
      src
  build-depends:
      base >=4.7 && <5
    , nats
    , singletons >= 2.3
  default-language: Haskell98
  if flag(Noisy)
    ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints

test-suite test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Data.TypedDigitsSpec
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , typed-digits
    , hspec
    , hspec-discover
    , QuickCheck
  default-language: Haskell98

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