lua-users home
lua-l archive

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


>This branch of the discussion was about short forms for returning expressions.

It would be a pity (IMO) if it didn't handle statements too. E.g. foreach is a common higher order function that is just for its side-effects. Of course, the function could always return a value that's ignored.