On Mon, 2008-08-25 at 15:44 -0700, Jason Dusek wrote: > Brandon S. Allbery KF8NH <[EMAIL PROTECTED]> wrote: > > 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.
showList is a method of the Show type class... http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v% 3AshowList jcc _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
