APL-like functions for use from Lua.