packages feed

digit-0.15: digit.cabal

name:               digit
version:            0.15
license:            BSD3
license-file:       LICENCE
author:             System F <nɐ˙ɯoɔ˙ɟɯǝʇsʎs@ǝpoɔ>
maintainer:         System F <nɐ˙ɯoɔ˙ɟɯǝʇsʎs@ǝpoɔ>
copyright:          Copyright (c) 2010-2016 NICTA Limited
                    Copyright (c) 2017-2018, Commonwealth Scientific and Industrial Research Organisation (CSIRO) ABN 41 687 119 230.
                    Copyright (c) System F (System F Aerial Operations) 2019-2020
synopsis:           A data-type representing digits 0-9 and other combinations
category:           Data
homepage:           https://github.com/system-f/digit
bug-reports:        https://github.com/system-f/digit/issues
cabal-version:      >= 1.10
build-type:         Simple
extra-source-files: CONTRIBUTORS, changelog.md
tested-with:        GHC == 9.8.1, GHC == 9.6.3, GHC == 9.4.7, GHC == 9.0.2, GHC == 8.6.1, GHC == 8.4.3, GHC == 8.2.2, GHC == 8.0.2, GHC == 7.10.3
description:
  <<https://system-f.gitlab.io/logo/systemf-450x450.jpg>>
  .
  @Digit@ is a data-type that represents the digits 0-9 and other combinations.

source-repository   head
  type:             git
  location:         git@github.com:system-f/digit.git

library
  default-language:
                    Haskell2010

  build-depends:
                    base               >= 4.8 && < 6
                    , lens             >= 4.0 && < 6
                    , parsers          >= 0.12.3 && < 1
                    , semigroups       >= 0.12 && < 1.0
                    , template-haskell >= 2.8 && < 3
                    , semigroupoids    >= 5 && < 7
                    , scientific       >= 0.3 && < 1

  ghc-options:
                    -Wall

  default-extensions:
                    NoImplicitPrelude

  hs-source-dirs:
                    src

  exposed-modules:
                    Data.Digit
                    Data.Digit.Binary
                    Data.Digit.Natural
                    Data.Digit.Decimal
                    Data.Digit.Octal

                    Data.Digit.Hexadecimal.LowerCase
                    Data.Digit.Hexadecimal.UpperCase
                    Data.Digit.Hexadecimal.MixedCase

                    Data.Digit.Class.D0
                    Data.Digit.Class.D1
                    Data.Digit.Class.D2
                    Data.Digit.Class.D3
                    Data.Digit.Class.D4
                    Data.Digit.Class.D5
                    Data.Digit.Class.D6
                    Data.Digit.Class.D7
                    Data.Digit.Class.D8
                    Data.Digit.Class.D9

                    Data.Digit.Class.LowerCase
                    Data.Digit.Class.MixedCase
                    Data.Digit.Class.UpperCase

                    Data.Digit.Char
                    Data.Digit.Enum
                    Data.Digit.Integral


test-suite tests
  type:
                    exitcode-stdio-1.0

  main-is:
                    Main.hs

  default-language:
                    Haskell2010

  build-depends:
                    base             >=4.8    && <4.13
                    , lens           >=4.0    && <5.2
                    , ansi-wl-pprint >=0.6    && <0.7
                    , hedgehog       >=0.5    && <1.1
                    , tasty          >=0.11   && <1.3
                    , tasty-hspec    >=1.1    && <1.2
                    , parsec         >=3.1    && <3.2
                    , parsers        >=0.12.3 && <0.13
                    , pretty         >=1.1    && <1.2
                    , text           >=1.2    && <1.3
                    , tasty-hedgehog >=0.1    && <1.1
                    , tasty-hunit    >=0.9    && <0.11
                    , semigroups     >= 0.12 && < 1.0
                    , digit

  ghc-options:
                    -Wall
                    -threaded

  default-extensions:
                    NoImplicitPrelude

  hs-source-dirs:
                    test