The setfenv documentation page[1] is missing the 'env' parameter. Currently it shows this:
Where it should show this:
[1]: http://www.gammon.com.au/scripts/doc.php?lua=setfenv
f = setfenv (f)Where it should show this:
f = setfenv (f, env)[1]: http://www.gammon.com.au/scripts/doc.php?lua=setfenv