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

Peter van Rooijen peter at vanrooijen.com
Fri Mar 21 00:04:35 GMT 2008


On Wed, 12 Mar 2008 20:42:46 +0100, Eliot Miranda  
<eliot.miranda at gmail.com> wrote:

> On Wed, Mar 12, 2008 at 12:09 PM, Paolo Bonzini <bonzini at gnu.org> wrote:

>> 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.

So you would have #(hunoz hukairz) be a valid literal Array with 2 symbols  
in it, correct?

> Which dialects don't support the non-ANSI behaviour?

I would assume all dialects interpret that form as I think you would like  
it. I certainly don't recall seeing any other behavior.

BTW, ANSI says in #(hunoz hukairz) it is undefined what the Array elements  
are. Why it didn't say they are symbols, I don't know.

Cheers, Peter


-- 
Peter van Rooijen
Esstede 19
1112 EP Diemen
m: 06-2854 2048



More information about the ANSI-Smalltalk mailing list