Hi,

I was recently bitten by this:

julia> s = Set(3, 4, 5)
Set{Int64}({5, 4,3})

julia> (1, 1) in s
false

I.e., I had changed the type stored in a Set from a pair to an integer, and 
had a strange bug for several days, which I finally traced to this.
I would much prefer that `in` give an error if the wrong type is used, 
rather than 'false'!
Is there a good reason for wanting this behaviour?

Thanks,
David.

Reply via email to