RE: forall and class contexts
16 Oct
2002
16 Oct
'02
8:07 a.m.
At 2002-10-16 00:40, Simon Peyton-Jones wrote:
Not currently, but I think it makes sense, and I'll implement it if enough people ask.
That's two. FWIW, my pint offer still stands.
Presumably you mean 'instance' not 'class'? A class decl always has a type variable after the =>; thus ...=> C a.
Unless Wolfgang meant class (Eq (forall a. t a), Monad t) => C t -- Ashley Yakeley, Seattle WA
16 Oct
16 Oct
5:56 p.m.
New subject: forall and class contexts
On Wednesday, 2002-10-16, 10:07, CEST, Ashley Yakeley wrote:
[...]
Presumably you mean 'instance' not 'class'? A class decl always has a type variable after the =>; thus ...=> C a.
Unless Wolfgang meant
class (Eq (forall a. t a), Monad t) => C t
This is exactly what I meant.
[...]
Wolfgang
8717
Age (days ago)
8717
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ashley Yakeley -
Wolfgang Jeltsch