lua-users home
lua-l archive

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


On Wed, Nov 24, 2010 at 2:29 PM, Axel Kittenberger <axkibe@gmail.com> wrote:
> myfunc(function(x) return x end, x)

It would bind to the next expression; here the comma is just an
argument separator.

However, there _is_ an operator precedence question.

As for multiple returns, probably best either to not allow it or
require explicit parens

lambda(x) (x-1,x+1)

steve d.