This library provides a type and combinators for show functions using functional lists.
Author: Bjoern Peemoeller
Version: April 2016
showString
:: String -> String -> String
Prepend a string |
showChar
:: Char -> String -> String
Prepend a single character |
showParen
:: Bool -> (String -> String) -> String -> String
Surround the inner show function with parentheses if the first argument evaluates to True .
|
shows
:: Show a => a -> String -> String
Convert a value to ShowS
using the standard show function.
|
Type synonym: ShowS = String -> String
Prepend a string
|
Prepend a single character
|
Surround the inner show function with parentheses if the first argument
evaluates to |
Convert a value to |