[ENH] SequenceCompare

ok at cs.otago.ac.nz ok at cs.otago.ac.nz
Mon Apr 29 04:26:00 UTC 2002


from preamble:

"Change Set:		SequenceCompare
Date:			29 April 2002
Author:			Richard A. O'Keefe

Add #< #>= #> #<= #min: #max: #min:max: #between:and: to
SequenceableCollection
so that SequenceableCollections bhave like Magnitudes.  The ordering is
the
lexicographic extension of the ordering of the elements.  This is fully
compatible
with the ordering of Strings.  With this ordering, s1 <= s2 if and only
if
s1 asArray <= s2 asArray, where s1 and s2 are Strings."!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SequenceCompare.cs.gz
Type: application/octet-stream
Size: 625 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20020429/6b3eabc1/SequenceCompare.cs.obj


More information about the Squeak-dev mailing list