Henning Thielemann wrote:
instance on Foo a?

Btw. was anything bad about the suggested Haskell98 solution?

You called it 'non-hacky'; I would call it 'slightly hacky' since, IMO, it qualifies as a hack around a deficiency in the class system.

However, I don't think there is anything wrong with it. After all it's the same trick the Prelude uses for instance Show [Char].

Jules
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to