Skip to content

Commit

Permalink
Fork of numerals, without specific languages
Browse files Browse the repository at this point in the history
Ignore-this: c857aca9a896cedd29d9563651e43dbe

darcs-hash:20110409164832-cab80-c7bf5b6ad7bc62c102055fda4a2dd83a379df7ba.gz
  • Loading branch information
roelvandijk committed Apr 9, 2011
1 parent 2d5fc2b commit 028464d
Show file tree
Hide file tree
Showing 59 changed files with 70 additions and 7,602 deletions.
60 changes: 60 additions & 0 deletions numerals-base.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
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
category: Natural Language Processing, Numerical, Text
synopsis: Convert numbers to number words
description: See the @numerals@ package for numerous examples.

extra-source-files: ./TODO
, ./LICENSE

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

source-repository head
Type: darcs
Location: http://code.haskell.org/numerals-base

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

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

build-depends: base >= 3.0.3.1 && < 4.4
, base-unicode-symbols >= 0.1.1 && < 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.Repr
, 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.4
, base-unicode-symbols >= 0.1.1 && < 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.4
, test-framework-hunit >= 0.2.6 && < 0.3

111 changes: 0 additions & 111 deletions numerals.cabal

This file was deleted.

2 changes: 1 addition & 1 deletion src/Text/Numeral/BigNum.hs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import qualified Data.Map as M ( Map, fromList, lookup )
-- from containers-unicode-symbols:
import Data.Map.Unicode ( (∪) )

-- from numerals:
-- from numerals-base:
import Text.Numeral
import qualified Text.Numeral.Exp.Classes as C

Expand Down
2 changes: 1 addition & 1 deletion src/Text/Numeral/Debug.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import Data.Maybe ( fromMaybe )
-- from base-unicode-symbols:
import Data.Monoid.Unicode ( (⊕) )

-- from numerals:
-- from numerals-base:
import Text.Numeral
import Text.Numeral.Misc
import qualified Text.Numeral.Language.AMP as AMP
Expand Down
2 changes: 1 addition & 1 deletion src/Text/Numeral/Exp.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import Data.Ord ( Ord )
import Prelude ( Integer )
import Text.Show ( Show )

-- from numerals:
-- from numerals-base:
import qualified Text.Numeral.Exp.Classes as C


Expand Down
93 changes: 0 additions & 93 deletions src/Text/Numeral/Language/AMP.hs

This file was deleted.

78 changes: 0 additions & 78 deletions src/Text/Numeral/Language/CHN.hs

This file was deleted.

Loading

0 comments on commit 028464d

Please sign in to comment.