help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Syntax of GNU Smalltalk class definitions


From: Derek Zhou
Subject: Re: [Help-smalltalk] Syntax of GNU Smalltalk class definitions
Date: Sat, 27 Apr 2019 08:37:37 +0800
User-agent: mu4e 0.9.18; emacs 25.1.1

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]