Make Chan an instance of Eq
mmitar at gmail.com
Thu Nov 25 16:26:13 EST 2010
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.
More information about the Libraries