Am Donnerstag, 13. Oktober 2005 12:22 schrieb John Meacham:
class alias FooBar a = (Foo a, Bar a) where ...
since the new name introduced usually appears to the left of an equals
This also solves the problems of where to put new supertype constraints.
class alias FooBar a = Show a => (Foo a, Bar a) where ...
should do nicely.
What is the difference between this and the following:
class alias FooBar a = (Show a, Foo a, Bar a) where ...