[Seaside-dev] When is Symbol>>#= not Symbol>>#==?
dale.henrichs at gemstone.com
Fri Nov 14 00:30:41 UTC 2008
----- "Dale Henrichs" <dale.henrichs at gemstone.com> wrote:
| ----- "Lukas Renggli" <renggli at gmail.com> wrote:
| | On Thu, Nov 13, 2008 at 6:13 PM, Paolo Bonzini <bonzini at gnu.org>
| | wrote:
| | >> The problem is that on the other platforms I am familiar with
| | >> Smalltalk, VW and Dolphin), an equality test on Symbols is an
| | identity
| | >> test. But on Squeak, it isn't -- So "#abc' = 'abc'" answers
| | on
| | >> Squeak and false on VA/VW/Dolphin.
| | >
| | > ... and GNU Smalltalk.
| | So what is 'abc' = #abc then?
'abc' = #abc ==> false
#abc = 'abc' ==> false
VW and Gemstone ... in VW explicit failure for String>>= when arg is a Symbol, prim call that falls back to #== test for Symbol>>=. Primitive calls in GemStone for both cases...
More information about the seaside-dev