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 Source #

Constructors

Article 

Fields

Conjunctions

Prepositions

Helper functions

toTitle :: String -> String Source #

Capitalize the first character of a string.

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

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

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