Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
AUTHOR
- Dr. Alistair Ward
DESCRIPTION
- Exports functions to facilitate unification of the style of output text.
- showsInfoPrefix :: ShowS
- showsWarningPrefix :: ShowS
- showsErrorPrefix :: ShowS
- showsAssociation :: ShowS
- capitaliseInitial :: ShowS
- showsSeparator :: ShowS
- showsDelimitedList :: ShowS -> ShowS -> ShowS -> [ShowS] -> ShowS
- showsUnterminatedList :: [ShowS] -> ShowS
- showsFormattedList :: ShowS -> (a -> ShowS) -> [a] -> ShowS
- showsFormattedList' :: (a -> ShowS) -> [a] -> ShowS
- showsAssociationList :: ShowS -> [(String, ShowS)] -> ShowS
- showsAssociationList' :: [(String, ShowS)] -> ShowS
- splitOn :: (a -> Bool) -> [a] -> [[a]]
Constants
showsInfoPrefix :: ShowS Source #
Used to qualify output.
showsWarningPrefix :: ShowS Source #
Used to qualify output.
showsErrorPrefix :: ShowS Source #
Used to qualify output.
showsAssociation :: ShowS Source #
Used to separate an identifier & the it's value.
Functions
capitaliseInitial :: ShowS Source #
Capitalise the initial letter of the specified string.
showsSeparator :: ShowS Source #
Used to separate the items of a list.
Shows a list with the specified delimiters.
showsUnterminatedList :: [ShowS] -> ShowS Source #
Shows a list without terminal delimiters.
:: 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.
Formats & shows a list with standard delimiters.
Shows an association-list with standard terminal delimiters.