summaryrefslogtreecommitdiff
path: root/dot_config/nvim/lua/toast/table.lua
blob: b2633a262b06df27058e445e04fb7f6a060af8b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
-- [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
return {["from-pairs"] = from_pairs, insert = insert}