Am Donnerstag, 13. Oktober 2005 12:22 schrieb John Meacham:
> [...]
> although perhaps
>
> > class alias FooBar a = (Foo a, Bar a) where ...
>
> since the new name introduced usually appears to the left of an equals
> sign.
Yes, exactly.
> 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 ...
> [...]
Best wishes,
Wolfgang
_______________________________________________
Haskell mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell