[Haskell-cafe] Phantoms

Jules Bean jules at jellybean.co.uk
Fri Aug 15 04:49:42 EDT 2008

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].


More information about the Haskell-Cafe mailing list