lua-users home
lua-l archive

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

> Actually the 'make a field extractor for foo' is a good example of how
> sometimes a little lambda is easier to write and read than a library
> function.

Given Lua's indulgence to all those Fortran programmers out
there, what about good old "arithmetic statement functions" for
a lightweight syntax?  In this case:

foo(x) =

Since it's not anonymous, even I would use it …