In luaiter `map` and `each` I can only get the value, but I also want the index to be passed to the function. How can I do it?