lua-users home
lua-l archive

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

steve donovan <> wrote:
> I suppose the chief obstacle to adoption is that this is fairly
> specialized sugar, and not keyword-driven.


For fans of hyperglycemic syntax, what I'm really doing is skating
on the edge of full blown functional-style pattern matching and table
comprehensions :-)

> Another option for injection-syntax for modules would be something like this:
> 	return { @foo, @bar, @zig }
> or
> 	return { foo=@, bar=@, zig=@ }

I was thinking { = foo, = bar }

f.anthony.n.finch  <>
South Utsire, Forties: Southwesterly 5 to 7, perhaps gale 8 later. Rough.
Occasional rain. Moderate or good.