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

Paolo Bonzini bonzini at gnu.org
Fri Dec 5 16:13:23 UTC 2008


Stéphane Rollandin wrote:
> 
>> And FWIW, in GNU Smalltalk even though #(...) is obviously valid, I
>> removed the #(abc) shortcut for symbols.  The only words without sharps
>> are exactly true, false, nil.
> 
> OTOH the current behavior in Squeak allows fun things, such as having
> lisp code cleanly stored as an array of symbol:
> 
> prog := #(funcall (lambda (x) (sqrt x)) 5) asCons

Yeah, it's a lossy change.  But I'm more for consistency.

Paolo



More information about the Squeak-dev mailing list