packages feed

numerals-base-0.3: numerals-base.cabal

name:          numerals-base
version:       0.3
cabal-version: >= 1.8
build-type:    Simple
stability:     experimental
author:        Roel van Dijk <vandijk.roel@gmail.com>, Bas van Dijk <v.dijk.bas@gmail.com>
maintainer:    Roel van Dijk <vandijk.roel@gmail.com>
copyright:     2009–2011 Roel van Dijk, Bas van Dijk
license:       BSD3
license-file:  LICENSE
homepage:      https://github.com/roelvandijk/numerals-base
bug-reports:   https://github.com/roelvandijk/numerals-base/issues
category:      Natural Language Processing, Numerical, Text
synopsis:      Convert numbers to number words
description:
  This package contains machinery to construct functions that convert
  numbers to number words. It allows you to write a function which
  converts a number like 142 to the string \"one hundred and
  forty-two\".
  .
  The documentation for the "Text.Numeral" module contains an high
  level overview of the package.
  .
  If you just want to convert numbers to number words in a specific
  language you should probably use the @numerals@ package. That
  package also contains numerous examples on how to use the functions
  in this package.

extra-source-files: ./TODO.markdown, ./README.markdown

-------------------------------------------------------------------------------

source-repository head
  Type: git
  Location: git://github.com/roelvandijk/numerals-base.git

-------------------------------------------------------------------------------

library
  hs-source-dirs: src
  ghc-options: -Wall

  build-depends: base                       >= 3.0.3.1 && < 4.5
               , base-unicode-symbols       >= 0.2.2   && < 0.3
               , containers                 >= 0.4     && < 0.5
               , containers-unicode-symbols >= 0.3     && < 0.4
               , fingertree                 >= 0.0.1   && < 0.1

  exposed-modules: Text.Numeral
                 , Text.Numeral.BigNum
                 , Text.Numeral.Exp
                 , Text.Numeral.Exp.Classes
                 , Text.Numeral.Misc
                 , Text.Numeral.Render
                 , Text.Numeral.Rules

-------------------------------------------------------------------------------

test-suite test-numerals
  type: exitcode-stdio-1.0
  main-is: test.hs
  hs-source-dirs: src, test
  ghc-options: -Wall

  build-depends: base                       >= 3.0.3.1 && < 4.5
               , base-unicode-symbols       >= 0.2.2   && < 0.3
               , containers                 >= 0.4     && < 0.5
               , containers-unicode-symbols >= 0.3     && < 0.4
               , fingertree                 >= 0.0.1   && < 0.1
               , HUnit                      >= 1.2.2   && < 1.3
               , test-framework             >= 0.3.3   && < 0.5
               , test-framework-hunit       >= 0.2.6   && < 0.3