-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
arrays[a, r, r, a, y, s][a, r, r, a, y, s]minor changeMarginal behavior change acceptable for a minor releaseMarginal behavior change acceptable for a minor releaseneeds decisionA decision on this change is neededA decision on this change is needed
Description
In order to be equal, ranges need to have the same first element, last element, and step, even if they are empty. Beside being unintuitive, this also breaks the transitivity of ==
:
julia> 2:1 == 1:0
false
julia> 2:1 == Int[] == 1:0
true
StefanKarpinski, KristofferC, nalimilan, mbauman, AzamatB and 1 more
Metadata
Metadata
Assignees
Labels
arrays[a, r, r, a, y, s][a, r, r, a, y, s]minor changeMarginal behavior change acceptable for a minor releaseMarginal behavior change acceptable for a minor releaseneeds decisionA decision on this change is neededA decision on this change is needed