[e-lang] Announcing Release Candidate 0.8.30b:
markm at caplet.com
Fri Jul 30 11:17:19 EDT 2004
At 05:47 PM 7/29/2004 Thursday, Dan Bornstein wrote:
>On Wed, 28 Jul 2004 11:10 pm, Mark Miller wrote:
>>We've changed the experimental syntax for property access from foo.bar to
>>foo::bar, in order to have foo.bar instead be experimental syntax for
>>currying the message selector, in order to cheaply create a
>>one-selector-facet on an object.
>I'd have expected the syntax to be the other way around, that is "x::y"
>would be a message selector and "x.y" would be field access.
The real problem is that both desperately want to be "x.y".
The reason to use "x.y" for curried verb access is to get the algebraic
property suggested by the syntax:
"(x.y)(args...)" has the same effect as "x.y(args...)".
Text by me above is hereby placed in the public domain
More information about the e-lang