Artifact 09d79da114d7f8c52004354e6f2e7a0411d9120158b1c66ff6b89072b4cf7271:
- File 残局文料/lua_lib/算机_程语_月_基类_表_对.lua — part of check-in [ceb3f9fd47] at 2024-02-10 11:44:57 on branch trunk — 慢慢来 (user: 顽雨沉风, size: 636) [annotate] [blame] [check-ins using]
local 字集库 = require("u8_to_a") local 返参库 = require(字集库.u8_to_a("算机_程语_月_基类_能_返参")) local 历对库 = require(字集库.u8_to_a("算机_程语_月_基类_能_传能_历_基类_表_对_取全")) local d = {} -- 连对 --~ 对 --~ 对 function d.连两对(o1_0, o2_0) local k1_0 --~ 合对 k1_0 = 历对库.历对(o1_0, 返参库.二参) for o1, o2 in pairs(o2_0) do k1_0[o1] = o2 end return k1_0 end -- 对长 --~ 对 function d.对长(o1_0) local k1 --~ 对长 k1 = 0 for _ in pairs(o1_0) do k1 = k1 + 1 end return k1 end return d