@hackage titlecase0.1.0.2
Convert English words to title case
Categories
License
BSD-3-Clause
Maintainer
nikita@karetnikov.org
Links
Versions
Installation
Dependencies (4)
- base >=4.7 && <4.9
- blaze-markup
- semigroups
- text Show all…
Dependents (2)
@hackage/acme-everything, @hackage/madlang
Titlecase Library for Haskell
This library basically offers a rough but mostly working function titlecase to
take any Text string and capitalize it according to English Title Case. While the
Data.Text function toTitle simply capitalizes the first letter of every word,
this Data.Text.Titlecase titlecase function uses the list of common words to
not capitalize. It then respects the rule of capitalizing the first and last
words regardless.
On Hackage at https://hackage.haskell.org/package/titlecase.