Show and Read instance

From HaskellWiki
Revision as of 14:30, 13 November 2006 by Lemming (talk | contribs) (itemized)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

What shall the Show and Read instances show and parse, respectively? It is certainly a good thing, if

  • read parses, what show 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.