[squeak-dev] The Trunk: Collections-fn.825.mcz

Jakob Reschke forums.jakob at resfarm.de
Sat Apr 13 07:26:10 UTC 2019


Am Fr., 12. Apr. 2019 um 23:56 Uhr schrieb Chris Muller <asqueaker at gmail.com
>:

>
> Anyone know how other Smalltalk's handle this comparison?  The ANSI
> standard?
>

The ANSI standard, sparse as it is, does not even require that Character
must be a Magnitude. So there is no ordering, thus no #<, for Characters.
There is also no Character>>asInteger (only codePoint), and no
Number/Integer>>asCharacter. Character comparison is indeed defined
as character1 codePoint = character2 codePoint there.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190413/2bbf026a/attachment.html>


More information about the Squeak-dev mailing list