blob: a898a5ebf64a5f91b0070de975517c22f5ec2025 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
-- [nfnl] Compiled from fnl/toast/table.fnl by https://github.com/Olical/nfnl, do not edit.
local function from_pairs(t, _3fmut)
local out = (_3fmut or {})
for _, _1_ in ipairs(t) do
local _each_2_ = _1_
local k = _each_2_[1]
local v = _each_2_[2]
out[k] = v
end
return out
end
local function insert(t, ...)
table.insert(t, ...)
return t
end
local unpack = (table.unpack or unpack)
return {["from-pairs"] = from_pairs, insert = insert, unpack = unpack}
|