inflections-0.4.1.0: inflections.cabal
cabal-version: 2.0
name: inflections
version: 0.4.1.0
synopsis: Inflections library for Haskell
description:
Inflections provides methods for singularization, pluralization,
dasherizing, etc. The library is based on Rails' inflections library.
license: MIT
license-file: LICENSE
author: Justin Leitgeb <justin@stackbuilders.com>
homepage: https://github.com/mpscholten/inflections-hs
bug-reports: https://github.com/mpscholten/inflections-hs/issues
maintainer: Marc Scholten <marc@digitallyinduced.com>
copyright: 2014–2016 Justin Leitgeb
category: Text
build-type: Simple
tested-with: GHC == 8.4.3
, GHC == 8.10
, GHC == 9.0
, GHC == 9.2
, GHC == 9.4
, GHC == 9.6
, GHC == 9.8
, GHC == 9.10
, GHC == 9.12
extra-source-files: CHANGELOG.md
, README.md
, bench/little_women.txt
source-repository head
type: git
location: https://github.com/mpscholten/inflections-hs.git
flag dev
description: Turn on development settings.
manual: True
default: False
library
exposed-modules: Text.Inflections
other-modules: Text.Inflections.Data
, Text.Inflections.Camelize
, Text.Inflections.Dasherize
, Text.Inflections.Humanize
, Text.Inflections.Ordinal
, Text.Inflections.Parameterize
, Text.Inflections.Parse.CamelCase
, Text.Inflections.Parse.SnakeCase
, Text.Inflections.Titleize
, Text.Inflections.Transliterate
, Text.Inflections.Types
, Text.Inflections.Underscore
if flag(dev)
ghc-options: -Wall -Werror
else
ghc-options: -O2 -Wall
build-depends: base >= 4.11 && < 5.0
, exceptions >= 0.6 && < 0.12
, megaparsec >= 7.0.1 && < 10.0
, text >= 1.2.3 && < 2.2
, unordered-containers >= 0.2.7 && < 0.3
if !impl(ghc >= 7.10)
build-depends: void == 0.7.*
default-language: Haskell2010
test-suite test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-tool-depends: hspec-discover:hspec-discover
build-depends: inflections
, QuickCheck >= 2.7.6 && < 3.0
, base >= 4.11 && < 5.0
, containers >= 0.5 && < 0.8
, hspec >= 2.0 && < 3.0
, hspec-megaparsec >= 2.0 && < 3.0
, megaparsec
, text >= 1.2.3 && < 2.2
if !impl(ghc >= 7.10)
build-depends: void == 0.7.*
if !impl(ghc >= 8.0)
build-depends: semigroups == 0.18.*
if flag(dev)
ghc-options: -Wall -Werror
else
ghc-options: -O2 -Wall
default-language: Haskell2010
other-modules: Text.Inflections.DasherizeSpec
, Text.Inflections.HumanizeSpec
, Text.Inflections.OrdinalSpec
, Text.Inflections.ParametrizeSpec
, Text.Inflections.Parse.CamelCaseSpec
, Text.Inflections.Parse.SnakeCaseSpec
, Text.Inflections.TitleizeSpec
, Text.Inflections.TransliterateSpec
, Text.Inflections.TypesSpec
, Text.Inflections.UnderscoreSpec
, Text.InflectionsSpec
benchmark bench-speed
main-is: Main.hs
hs-source-dirs: bench/speed
type: exitcode-stdio-1.0
build-depends: base
, inflections
, text
, criterion >= 1.1 && < 1.7
default-language: Haskell2010
benchmark bench-memory
main-is: Main.hs
hs-source-dirs: bench/memory
type: exitcode-stdio-1.0
build-depends: base
, inflections
, text
, weigh >= 0.0.3 && < 0.1.0
default-language: Haskell2010