[Haskell-cafe] How to define Show [MyType] ?

Fraser Wilson blancolioni at gmail.com
Sun Dec 7 04:51:03 EST 2008

> 1) They come from the "show" instance for String.  Try "putStrLn (t2
> fleet)" instead.

The show instance for Char.

(I know you know this, I just have this weird fascination with the showList
wart, although for the life of me I can't think of a better way of doing it)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20081207/134dd344/attachment-0001.htm

More information about the Haskell-Cafe mailing list