Artifact 321839d01787516ad5b4aba38bbc9f0224be596ad25a1b40be43e9a76949fa8b:
- File single_doc/lua_lib/算机_程语_月_基类_表_对.lua — part of check-in [60c256f91b] at 2024-06-27 23:36:58 on branch trunk — 0 (user: 顽雨沉风, size: 636) [annotate] [blame] [check-ins using]
- File 残局文料/lua_lib/算机_程语_月_基类_表_对.lua — part of check-in [89f423ff38] at 2024-02-13 07:31:23 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 s = {} -- 连对 --~ 对 --~ 对 function s.连两对(u1_0, u2_0) local h1_0 --~ 合对 h1_0 = 历对库.历对(u1_0, 返参库.二参) for u1, u2 in pairs(u2_0) do h1_0[u1] = u2 end return h1_0 end -- 对长 --~ 对 function s.对长(u1_0) local h1 --~ 对长 h1 = 0 for _ in pairs(u1_0) do h1 = h1 + 1 end return h1 end return s