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

Martijn van Steenbergen martijn at van.steenbergen.nl
Thu Dec 4 17:29:52 EST 2008

Dmitri O.Kondratiev wrote:
> --  How to define Show [MyType] ?

Define instance Show MyType and implement not only show (for 1 value of 
MyType) but also showList, which Show provides as well. You can do all 
the magic in there.



More information about the Haskell-Cafe mailing list