Jump to content

Module talk:table/find

Page contents not supported in other languages.
මාතෘකාවක් එක්කරන්න
Wiktionary වෙතින්
oldiddate/timeusernameedit summary
844977762025-04-07T14:37:50ZTheknightwhoConsolidate code.
844635922025-04-04T12:09:51ZTheknightwho
844598422025-04-04T05:02:02ZTheknightwho
844590502025-04-04T02:28:51ZTheknightwho
844588322025-04-04T01:57:56ZTheknightwhoProtected "[[Module:table/find]]": Highly visible template/module ([Edit=Allow only template editors and administrators] (indefinite) [Move=Allow only template editors and administrators] (indefinite))
844588302025-04-04T01:57:18ZTheknightwhoCreated page with "local deep_equals -- Use `key_func` to get the comparison keys, and compare with `comp_func`. local function find_with_key_func(list, x, key_func, comp_func) x = key_func(x) local i = 0 while true do i = i + 1 local v = list[i] if v == nil then return nil end v = key_func(v) if comp_func(v, x) then return i end end end -- Use the raw values as comparison keys, and compare with `comp_func`. local function find_without_key_func(list, x, comp_func)..."

Start a discussion about Module:table/find

Start a discussion
"https://si.wiktionary.org/w/index.php?title=Module_talk:table/find&oldid=221461" වෙතින් සම්ප්‍රවේශනය කෙරිණි