[e-lang] Overgeneralization: object+assignment syntax
Kevin Reid
kpreid at mac.com
Sun Jul 23 11:22:37 EDT 2006
On Jul 23, 2006, at 9:52, David Hopwood wrote:
> Kevin Reid wrote:
>> x {}
>> ->
>> x := { def x {} }
>
> <subjective> Yuck. </subjective>
As I already wrote:
>> Again, I don't seriously think this syntax should be included (and
>> "<expr> { ... }" is probably more useful for something else); it
>> is merely an Obvious Generalization.
> Anyway, wouldn't it conflict with lambda-args?
No; lambda-args, as I understand it, always involves at least an
argument list and a keyword before the block. However, lambda-args is
the kind of 'something else' that I was thinking of.
--
Kevin Reid <http://homepage.mac.com/kpreid/>
More information about the e-lang
mailing list