Show and Read instance
Jump to navigation
Jump to search
What shall the Show and Read instances show and parse, respectively? It is certainly a good thing, if
read
parses, whatshow
shows.
The next question is:
Shall show
emit valid Haskell code,
that represents the shown data,
or shall it show something user friendly, maybe even something that is formatted in a line-oriented way.