numerals formatting for Haskell (with proper CLDR rules)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Data/Text
common/dtd
definitions/num
tests
LICENSE
README.md
Setup.hs
numerals.cabal
parse.hs

README.md

Numerals (cardinal) spelling, proper CLDR way.

λ⟩ putStrLn $ spellFi 654321
kuusi­sataa­viisikymmentä­neljä­tuhatta­kolme­sataa­kaksikymmentä­yks

λ⟩ putStrLn $ spellFr (Just Feminine) 77771
soixante-sept mille sept cent' soixante-et-une

Supposed to work: af am ar az bg bs ca cs cy da de ee el en eo es es_003 et fa fa_AF fi fil fo fr fr_BE fr_CH ga he hi hr hu hy id is itja ka kl km ko lo lt lv mk ms mt nb nci nl nn pt pt_PT ro se sk sl sq sr sr_Latn sv ta th tr uk vi zh zh_Hant zh_Hant_HK