15 Nov
2004
15 Nov
'04
12:59 p.m.
On Mon, Nov 15, 2004 at 12:31:33PM +0000, Keean Schupke wrote:
Easy: Here, with labelled instances you would write:
show ShowHex 27
instead you write:
show (ShowHex 27)
What about Ints buried deep in more complicated data structures: show ShowHex [[1, 2, 3], [4]] vs. show (map (map ShowHex) [[1, 2, 3], [4]]) BTW, This thread reminds me a similar problem that was discussed on haskell list. Unfortunately, there were some problems with this approach (accumulating typeclass contexts). http://www.haskell.org/pipermail/haskell/2004-August/thread.html#14427 Best regards, Tom -- .signature: Too many levels of symbolic links