Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
titlecase :: Text -> Titlecase Source
Capitalize all English words except articles
(a, an, the),
coordinating conjunctions
(for, and, nor, but, or, yet, so), and
prepositions
(unless they begin or end the title). The
prepositions
are taken from this list:
https://en.wikipedia.org/wiki/List_of_English_prepositions.