diff options
Diffstat (limited to 'lualib')
-rw-r--r-- | lualib/lua_selectors.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lualib/lua_selectors.lua b/lualib/lua_selectors.lua index 15777fc11..3bc7b9d75 100644 --- a/lualib/lua_selectors.lua +++ b/lualib/lua_selectors.lua @@ -441,9 +441,9 @@ local transform_function = { }, ['process'] = function(inp, t, _) local tmp = {} - for _,val in ipairs(inp) do - tmp[val] = true - end + fun.each(function(val) + tmp[val] = true + end, inp) return fun.map(function(k, _) return k end, tmp), t end, |