(1 to: self) inject: 1 into: #*
Marcel Weiher
marcel at metaobject.com
Thu Jan 20 17:47:07 UTC 2000
> From: "Lex Spoon" <lex at cc.gatech.edu>
>
> I like the idea of simplifying these common constructs. But making
> symbols act like blocks is a little problematic, IMHO. The
duality will
> break down eventually. For instance, what if someone tries to fixTemps
> a symbol?
I don't see the problem at all. The fact that blocks and symbols
share some common protocol does not imply either Symbol isa Block or
vice versa. If fixTemps is necessary for invoking blocks, then
that's a different problem.
Marcel
More information about the Squeak-dev
mailing list
|