Fri, 12 May 2000 11:47:11 -0600 (MDT), Thomas Harke [EMAIL PROTECTED] pisze:
Why is it that type synonyms can't be made class instances?
It does not add any functionality (see below), and could be confusing
because it would really make the instance for the expansion of the
type synonym (with
Thanks Marcin,
Marcin 'Qrczak' Kowalczyk wrote:
Thomas Harke [EMAIL PROTECTED] pisze:
Why is it that type synonyms can't be made class instances?
It does not add any functionality (see below), and could be confusing
because it would really make the instance for the expansion of the
Thomas Harke wrote:
Marcin 'Qrczak' Kowalczyk wrote:
[...] GHC developers decided that it is more convenient than
confusing and permitted to spell type synonyms in instance
definitions. I agree with it.
Now I'm confused. Do you mean I *can* do this in GHC? But the
Haskell Report