You can implement a lambda style of programming in lua.
Im made a game for the spring engine, where i implemented a simple function to use anonymous functions.
Granted it doesent have the lazy computation of a pure functional implementation.
T= process(T,
function(element)
if type(element) == "number" then
return element
end
end
)