[squeak-dev] [Question] nil, true, false in array literals

Igor Stasenko siguctua at gmail.com
Wed Dec 3 10:01:23 UTC 2008


in squeak, there is one assymetry in handling names, when used in
array literals:

#(true false nil foo)  = (Array with: true with: false with: nil with: #foo)

instead of:

#(true false nil foo)  = (Array with: #true with: #false with: #nil with: #foo)

i wonder, is such parse rules standartized or belongs only to squeak?

What is correct behavior, you think is?

-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list