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

I love Lua. Wish there was a shorter syntax for anonymous functions, though. (function(x) return x*x end)

Also, Lisp macros would be nice (didn't look at metalua)



Metalua comes out-of-the-box with a short lambda syntax: "function (x, y, ...) return foobar end" is shortened as "|x,y,...| foobar".

And it comes with macro capabilities, plus syntax extension facilities to make them more user friendly.




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

Search: