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 19:09:32 GMT 2008
> #( Message >> forwardTo: Object withArguments: Collection ^ Object)
> #( Message class >> selector: Object ^ Message)
> #( Integer >> >> Integer ^ Integer)
>
> etc, so we still have infix selectors. So the receiver type is the
> token(s) up to the first #>> and the result type is the token(s) after #^.
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).
Paolo
More information about the ANSI-Smalltalk
mailing list