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

Eliot Miranda eliot.miranda at gmail.com
Tue Mar 25 00:56:19 GMT 2008


On Thu, Mar 20, 2008 at 5:04 PM, Peter van Rooijen <peter at vanrooijen.com>
wrote:

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


Yes.


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


Why leave undefined something common to all dialects?   Anyone have
recollection of the discussion?

I think this points to an important feature of a new standard, that of
including design rationale for as many decisions as possible.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openskills.org/pipermail/ansi-smalltalk/attachments/20080324/ecf26b2d/attachment.htm


More information about the ANSI-Smalltalk mailing list