Re: Syntax of GNU Smalltalk class definitions

Derek Zhou <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <[email protected]>
Stefan Monnier writes:

> Better yet: my current understanding of Smalltalk syntax tells me that
> "Package extend" is a method invocation with the unary selector
> "extend", i.e. it's
>
>     (Package extend) [ ... ]
>
> so what is the "operation" that passes [ ... ] to (Package extend)?
> I doesn't look like any of the three syntaxes of method invocation
> I know (unary, binary, and multiple-keywords)?
>
This [ ... ] is not a block closure and the "extend" is more like a
keyword to indicate this special construct. 

Derek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.