Module Text.Show

This library provides a type and combinators for show functions using functional lists.

Author: Bjoern Peemoeller

Version: April 2016

Summary of exported operations:

showString :: String -> String -> String  Deterministic 
Prepend a string
showChar :: Char -> String -> String  Deterministic 
Prepend a single character
showParen :: Bool -> (String -> String) -> String -> String  Deterministic 
Surround the inner show function with parentheses if the first argument evaluates to True.
shows :: Show a => a -> String -> String  Deterministic 
Convert a value to ShowS using the standard show function.

Exported datatypes:


ShowS

Type synonym: ShowS = String -> String


Exported operations:

showString :: String -> String -> String  Deterministic 

Prepend a string

Further infos:
  • solution complete, i.e., able to compute all solutions

showChar :: Char -> String -> String  Deterministic 

Prepend a single character

Further infos:
  • solution complete, i.e., able to compute all solutions

showParen :: Bool -> (String -> String) -> String -> String  Deterministic 

Surround the inner show function with parentheses if the first argument evaluates to True.

shows :: Show a => a -> String -> String  Deterministic 

Convert a value to ShowS using the standard show function.