packages feed

ascii-numbers-1.2.0.1: ascii-numbers.cabal

cabal-version: 3.0

name: ascii-numbers
version: 1.2.0.1
synopsis: ASCII representations of numbers
category: Data, Numeric, Text

description:
    This package provides functions for converting back and
    forth between numbers and their ASCII representations.

license: Apache-2.0
license-file: license.txt

author: Chris Martin
maintainer: Chris Martin, Julie Moronuki

homepage: https://github.com/typeclasses/ascii-numbers
bug-reports: https://github.com/typeclasses/ascii-numbers/issues

extra-source-files: *.md

source-repository head
    type: git
    location: git://github.com/typeclasses/ascii-numbers.git

common base
    default-language: Haskell2010
    ghc-options: -Wall

    default-extensions:
        DeriveAnyClass
        DeriveDataTypeable
        DeriveGeneric
        DerivingStrategies
        FlexibleInstances
        LambdaCase
        MultiParamTypeClasses
        NoImplicitPrelude
        StandaloneDeriving

    build-depends:
      , ascii-case ^>= 1.0
      , ascii-char ^>= 1.0
      , ascii-superset ^>= 1.3
      , base ^>= 4.16 || ^>= 4.17 || ^>= 4.18
      , bytestring ^>= 0.10.12 || ^>= 0.11
      , hashable ^>= 1.4
      , text ^>= 1.2.5 || ^>= 2.0

library
    import: base
    hs-source-dirs: library

    exposed-modules:
        ASCII.Decimal
        ASCII.Hexadecimal
        ASCII.Word4

    other-modules:
        DList

test-suite test-ascii-numbers
    import: base
    type: exitcode-stdio-1.0
    hs-source-dirs: test
    main-is: Main.hs

    build-depends:
      , ascii-numbers
      , hedgehog ^>= 1.1.2 || ^>= 1.2
      , invert ^>= 1.0

    default-extensions:
        OverloadedStrings
        QuasiQuotes
        ScopedTypeVariables
        TemplateHaskell
        TypeApplications