Make Chan an instance of Eq

Mitar mmitar at gmail.com
Thu Nov 25 16:26:13 EST 2010


Hi!

On Thu, Nov 25, 2010 at 8:39 PM, Antoine Latter <aslatter at gmail.com> wrote:
> I was confused by your other thread - should Chans test as equal if
> one is duplicated from the other? With your current patch they do not
> (I haven't tested it, though, only looked at it).

I think it is OK that they are not equal if duplicated. Both MVar
equality and Chan equality is more or less just reference equality.


Mitar


More information about the Libraries mailing list