numerals-0.4.1: Convert numbers to number words

Safe HaskellNone
LanguageHaskell98

Text.Numeral.BigNum

Synopsis

Documentation

forms :: Text -> Text -> Text -> Text -> Text -> Ctx Exp -> Text Source #

type PostfixRepr Source #

Arguments

 = Inflection

Current inflection.

-> Ctx Exp

Context.

-> Text

Postfix representation.

Function that renders the postfix part of a large number name. Or more simply put, this calculates the "illion" part of "million", "billion", etc.

scaleRepr Source #

Arguments

:: PostfixRepr 
-> [(Integer, Ctx Exp -> Text)]

Additional symbol map entries.

-> ScaleRepr 

pelletierRepr Source #

Arguments

:: PostfixRepr

Postfix for offset 0 names.

-> PostfixRepr

Postfix for offset 3 names.

-> [(Integer, Ctx Exp -> Text)]

Additional symbol map entries.

-> ScaleRepr