Example A-SIGNATURES Re: A Way to express Standard multi-argument Method Signatures in Smalltalk Re: [ANSI-Smalltalk] Next STEPs

Paolo Bonzini bonzini at gnu.org
Wed Mar 12 20:34:44 GMT 2008


>     Somewhat drifting from the original topic, but I'll note that the ANSI
>     standard does not have symbols in array without a prefixed # (the only
>     "bare" keywords accepted there are true/false/nil and they signify the
>     three objects).
> 
> Which is something I'd change.  Which dialects don't support the 
> non-ANSI behaviour?

GNU Smalltalk.  I'm not opposed to changing it, *but* watch out because 
it's incompatible.  I would also appreciate an input on why the current 
choice was made.

I would oppose for sure having #(abc true) mean "Array with: #abc with: 
true".  That would be the worst of both worlds.

Paolo



More information about the ANSI-Smalltalk mailing list