Currying: Difference between revisions

m
→‎another implementation: fix header markup @ lua
m (→‎{{header|Lua}}: another implementation)
m (→‎another implementation: fix header markup @ lua)
Line 1,108:
assert(add2(5) == 2+5)
</lang>
=== another implementation ===
Proper currying, tail call without array packing/unpack.
<lang lua>
Anonymous user