@StephenVavasis has pointed out some rather confusing behavior of the in operator, including:
julia> VERSION
v"0.3.0-rc2+12"
julia> x = IntSet([3,5])
IntSet([3, 5])
julia> in(3,x)
true
julia> in(x,3)
false
julia> in("abc",19)
false
julia> in(19,"abc")
false
Worse still is this:
This issue is to discuss what, if anything, we can do to reduce some of this confusion.
@StephenVavasis has pointed out some rather confusing behavior of the
inoperator, including:Worse still is this:
This issue is to discuss what, if anything, we can do to reduce some of this confusion.