packages feed

ascii-caseless-0.0.0.0: ascii-caseless.cabal

cabal-version: 3.0

name: ascii-caseless
version: 0.0.0.0
synopsis: ASCII character without an upper/lower case distinction
category: Data, Text

description:
    This package defines a @Char@ type that has
    102 constructors: 128 ASCII characters minus 26 letters.

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

author: Chris Martin
maintainer: Chris Martin, Julie Moronuki

homepage: https://github.com/typeclasses/ascii-caseless
bug-Reports: https://github.com/typeclasses/ascii-caseless/issues

extra-source-files: *.md

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

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

    default-extensions:
        NoImplicitPrelude

    build-depends:
        ascii-case ^>= 1.0.1
      , ascii-char ^>= 1.0
      , base ^>= 4.14 || ^>= 4.15 || ^>= 4.16 || ^>= 4.17

library
    import: base
    ghc-options: -fno-warn-unused-imports
    hs-source-dirs: library

    default-extensions:
        DeriveAnyClass
        DeriveDataTypeable
        DeriveGeneric
        DerivingStrategies
        StandaloneDeriving

    build-depends:
        hashable ^>= 1.3.5 || ^>= 1.4

    exposed-modules:
        ASCII.Caseless

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

    default-extensions:
        OverloadedStrings
        QuasiQuotes

    build-depends:
        ascii-caseless
      , hspec ^>= 2.8.5 || ^>= 2.9 || ^>= 2.10