(#(nil) at: 1) ~~ nil

Dave Newman tinman at ntsource.com
Mon Feb 8 13:47:56 UTC 1999


In furthering my understanding of Squeak I came across the fact
that

( #( nil ) at: 1 ) ~~ nil.

evaluates to true.

The nil inside of the literal array is interpreted not as a nil,
but as the symbol #nil. I see this behavior in Squeak 2.3 with
all the latest updates downloaded and installed. Is this correct
behavior?

TIA,

--Dave

-- 
Dave Newman
tinman at pobox.com





More information about the Squeak-dev mailing list