-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
breakingThis change will break codeThis change will break codehelp wantedIndicates that a maintainer wants help on an issue or pull requestIndicates that a maintainer wants help on an issue or pull requestneeds decisionA decision on this change is neededA decision on this change is needed
Milestone
Description
@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:
julia> 97 in "abc"
true
This issue is to discuss what, if anything, we can do to reduce some of this confusion.
samuela and schneiderfelipesamuelasamuela
Metadata
Metadata
Assignees
Labels
breakingThis change will break codeThis change will break codehelp wantedIndicates that a maintainer wants help on an issue or pull requestIndicates that a maintainer wants help on an issue or pull requestneeds decisionA decision on this change is neededA decision on this change is needed