titlecase-1.0.1: Convert English Words to Title Case

Safe HaskellSafe
LanguageHaskell2010

Data.Text.Titlecase.Internal

Contents

Description

As the name implies, this module is meant to be used only if you want to get access to the internals, say, if you're unhappy with the provided titlecase function.

Synopsis

Articles

newtype Article #

Constructors

Article 

Fields

Instances

Conjunctions

Prepositions

prepositions :: [Preposition] #

The words come from Wikipedia but without subordinating conjunctions.

Helper functions

toTitle :: String -> String #

Capitalize the first character of a string.

uncurry3 :: (a -> b -> c -> d) -> (a, b, c) -> d #

uncurry4 :: (a -> b -> c -> d -> e) -> (a, b, c, d) -> e #

isElem :: (a -> String) -> [a] -> String -> Bool #