packages feed

ascii-numbers-1.1.0.0: ascii-numbers.cabal

cabal-version: 3.0

name: ascii-numbers
version: 1.1.0.0
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
bug-Reports: https://github.com/typeclasses/ascii/issues

build-type: Simple

source-repository head
    type: git
    location: git://github.com/typeclasses/ascii.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.0.1
      , base >= 4.13 && < 4.17
      , bytestring ^>= 0.10 || ^>= 0.11
      , hashable >= 1.3 && < 1.5
      , text ^>= 1.2.4

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.0.1 || ^>= 1.1
      , invert ^>= 1.0

    default-extensions:
        OverloadedStrings
        QuasiQuotes
        ScopedTypeVariables
        TemplateHaskell
        TypeApplications