Re: Superclass equalities

2011-06-23 Thread Chris Kuklewicz
On 22/06/2011 17:57, Simon Peyton-Jones wrote: I have long advertised a plan to allow so-called superclass equalities. I've just pushed patches to implement them. So now you can write class (F a ~ b) = C a b where { ... } That is fantastic. I have a question about this feature as compared

Superclass equalities

2011-06-22 Thread Simon Peyton-Jones
Friends I have long advertised a plan to allow so-called superclass equalities. I've just pushed patches to implement them. So now you can write class (F a ~ b) = C a b where { ... } This email is just to encourage you to try them out. Currently this is just in the HEAD git

Re: Superclass equalities

2011-06-22 Thread Edward Z. Yang
Yay! This is very exciting :-) Edward Excerpts from Simon Peyton-Jones's message of Wed Jun 22 12:57:28 -0400 2011: Friends I have long advertised a plan to allow so-called superclass equalities. I've just pushed patches to implement them. So now you can write class (F a ~ b) = C