Personal tools

Show and Read instance

From HaskellWiki

Revision as of 14:29, 13 November 2006 by Lemming (Talk | contribs)

Jump to: navigation, search

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

  • read
    parses, what

The next question is:

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.

Meaning of Show and Read I Meaning of Show and Read II

Raw vs. Show

Show instance for Tree