请输入您要查询的百科知识:

 

词条 Module:User:Martijn Hoekstra/Sandbox/Archiving
释义

local search = require('Exponential search')

local work = function(init, predicate, linkformat, listformat)

local max = search(predicate, init)

local links = {}

for i=init, max do

      links[i - init + 1] = linkformat(i)    end    return listformat(links)

end

local linkformats = {}

--attach all sorts of fun ways to format a link

local listformats = {}

--attach all sorts of fun ways to format a list of formatted links

local p = {}

p.linkformats = linkformats

p.listformats = listformats

--attach all sorts of fun helpers

return p

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/12 15:50:21