| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell98 |
Texts.English
Description
English-focused text operations.
Marketing
bigUp :: Integral a => a -> SText Source
Given an integral number, give it a vague English description which makes it seem better than it is. Examples: <3 -> a couple, <1000 -> hundreds, etc.
Time
Arguments
| :: UTCTime | The later time span. |
| -> UTCTime | The earlier time span. |
| -> Bool | Display 'in/ago'? |
| -> SText | Example: '3 seconds ago', 'in three days'. |
Display a time span as one time relative to another.
Typography
English numbers
English grammar
indefinite :: SText -> SText Source
The indefinite article to be used before a word, e.g. "An" elephant, "a" car, etc.
Letter information
isConsonant :: Char -> Bool Source
Is a character a consonant?