Type wildcards, was: Re: [Haskell] GHC Error question

Lennart Augustsson lennart at augustsson.net
Thu Dec 7 16:38:13 EST 2006

My (off-the-top-of-my-head) suggestion was much more modest.
A context synonym would only allow you to shorten contexts, it would  
not be a new class.

On Dec 7, 2006, at 10:53 , J. Garrett Morris wrote:

> On 12/7/06, Lennart Augustsson <lennart at augustsson.net> wrote:
>> Speaking of wishlist, I'd also like to see context synonyms, e.g.,
>> context C a = (Ord a, Num a)
> This is equivalent to John Meacham's class alias proposal, right?
> (http://repetae.net/john/recent/out/classalias.html)
> /g
> -- 
> It is myself I have never met, whose face is pasted on the  
> underside of my mind.
> _______________________________________________
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
> http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

More information about the Glasgow-haskell-users mailing list