[squeak-dev] Re: [Question] nil, true, false in array literals
Stéphane Rollandin
lecteur at zogotounga.net
Fri Dec 5 10:54:39 UTC 2008
> 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.
>
> Paolo
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
(more here: http://www.zogotounga.net/comp/squeak/lispkit.htm)
Stef
More information about the Squeak-dev
mailing list
|