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

Avi Bryant avi at dabbledb.com
Wed Dec 3 10:45:37 UTC 2008


On Wed, Dec 3, 2008 at 2:01 AM, Igor Stasenko <siguctua at gmail.com> wrote:
> 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?

Last time this came up, I believe we established that that's the ANSI
standard behavior.

Avi



More information about the Squeak-dev mailing list