bishbosh-0.0.0.3: Plays chess.

BishBosh.Text.ShowList

Contents

Description

AUTHOR
Dr. Alistair Ward
DESCRIPTION
Exports functions to facilitate unification of the style of output text.

Synopsis

# Constants

Used to qualify output.

Used to qualify output.

Used to qualify output.

Used to separate an identifier & the it's value.

# Functions

Capitalise the initial letter of the specified string.

Used to separate the items of a list.

Arguments

 :: ShowS The list-separator. -> ShowS Left delimiter. -> ShowS Right delimiter. -> [ShowS] -> ShowS

Shows a list with the specified delimiters.

Shows a list without terminal delimiters.

Arguments

 :: ShowS The list-separator. -> (a -> ShowS) Format the list-elements. -> [a] An arbitrary list of items. -> ShowS

Formats & shows a list with standard terminal delimiters.

Arguments

 :: (a -> ShowS) Format the list-elements. -> [a] An arbitrary list of items. -> ShowS

Formats & shows a list with standard delimiters.

Arguments

 :: ShowS The list-separator. -> [(String, ShowS)] -> ShowS

Shows an association-list with standard terminal delimiters.

showsAssociationList' :: [(String, ShowS)] -> ShowS Source #

Shows an association-list with standard delimiters.

splitOn :: (a -> Bool) -> [a] -> [[a]] Source #

Split the specified list, using the predicate to identify the separator.

CAVEAT: the separator isn't included in the results.