I do not think that (1 to: 4) and #(1 2 3 4) should be equal.
Let me put it a little more strongly:�� it's a bug.
Taking
�� a := 1 to: 4.
�� b := Array withAll: a.
�� c := OrderedCollection withAll: b.
in the two other Smalltalk systems I just tried,
no two of these are equal.�� This is what the ANSI
Smalltalk standard requires.�� Ceteris paribus,
two sequences are equivalent if and only if
1. they are instance of the same class
2. they have the same size
3. corresponding elements are equivalent.
It is fairly common for Smalltalk systems to distinguish
between "these sequences are equivalent" and "these
sequences have the same elements in the same order",
with no consensus on the name of the second method.
One calls it #sameContentsAs:, Squeak #hasEqualElements:.