Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes. Playing around with Metalua[1]'s anonymous functions[2] which allow you to shorten

  function(arg1, arg2, argn) return some_expr end
to the much more concise

  |arg1,arg2,argn| some_exp
makes me wish they were part of core Lua.

1- http://lua-users.org/wiki/MetaLua

2- http://metalua.luaforge.net/manual003.html#toc3



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: