Make Chan an instance of Eq

Duncan Coutts duncan.coutts at googlemail.com
Wed Dec 1 00:32:16 CET 2010


On Fri, 2010-11-26 at 00:03 +0100, Mitar wrote:
> Hi!
> 
> > Yes that should be enough. It would be nice to also include it in the
> > patch though.
> 
> OK. So:
> 
> I am proposing a week to discus things. Starting now.

Seems a perfectly reasonable proposal. Given that IO variables such as
IORef, MVar, TVar etc are all in Eq, then other mutable objects with
reference semantics such as Chan can also reasonably be in Eq.

What about QSem and QSemN? The same reasoning apply to them doesn't it?

Duncan




More information about the Libraries mailing list