lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Shorthand lambda patches for lua 5.4 and 5.1
From
: Flemming Madsen <lua@
...
>
Date
: Fri, 12 Mar 2021 08:44:56 +0100
I just made submissions for these on
http://lua-users.org/wiki/LuaPowerPatches
.
Search for "Shorthand lambdas"
Basically, the construction
|arglist| _expression_
is shorthand for
function(arglist) return _expression_ end
I have an accompanying patch for luacheck (
https://github.com/mpeterv/luacheck
), if anybody needs that.
Prev by Date:
Re:Re: Re: Re: why lua table don't use prime number to hash
Next by Date:
How a load reader can pre-parse chunks?
Previous by thread:
Re: LUA EOS - Concept
Next by thread:
How a load reader can pre-parse chunks?
Index(es):
Date
Thread