
25 Aug
2008
25 Aug
'08
6:44 p.m.
Brandon S. Allbery KF8NH
Jason Dusek wrote:
It is inconvenient for certain things. If I want to declare a special `instance Show [MyType] where...` I am out of luck.
In this particular case, can't you just define showList?
Will GHCi use that automatically? Probably not... Nor can I write nice codez with print, printf, &c. I have to use my silly function now. I want to be in the Show typeclass for clarity as well as convenience. -- _jsn