local <span class="searchmatch">Array</span> = {} local <span class="searchmatch">array</span>_constructor, m_table, m_fun -- Copy table library so as not to unexpectedly change the behavior of code that -- uses it....
["cologneblue"] = "Cologne Blue"; ["modern" ] = "Modern"; } local <span class="searchmatch">Array</span> = require "Module:<span class="searchmatch">array</span>" local function compare_pages(page1, page2, text) return "["...
local export = {} local <span class="searchmatch">array</span>_module = "Module:<span class="searchmatch">array</span>" local debug_track_module = "Module:debug/track" local frame_module = "Module:frame" local fun_is_callable_module...
function get_all_matches(str, pattern) local matches = require 'Module:<span class="searchmatch">array</span>'() for match in str:gmatch(pattern) do matches:insert(match) end return...
others. Functions that take an <span class="searchmatch">array</span> as their second argument are available as methods in the <span class="searchmatch">arrays</span> created by Module:<span class="searchmatch">array</span>, with the arguments reversed...
require("Module:table").keysToList(number_type_indices) local <span class="searchmatch">Array</span> = require("Module:<span class="searchmatch">array</span>") local output = <span class="searchmatch">Array</span>() for number, data in require("Module:table").sortedPairs(module...
local export = {} local <span class="searchmatch">Array</span> = require "Module:<span class="searchmatch">array</span>" -- Convert lines of tab-separated items to a table. function export.tabs_to_table(frame) local...
fill_<span class="searchmatch">array</span>(lower, higher) local <span class="searchmatch">array</span> = {} local <span class="searchmatch">array</span>_i = 1 for i = lower, higher do <span class="searchmatch">array</span>[<span class="searchmatch">array</span>_i] = i <span class="searchmatch">array</span>_i = <span class="searchmatch">array</span>_i + 1 end return <span class="searchmatch">array</span> end...
check(1, func, "function") check(2, iterable, iterableTypes) local <span class="searchmatch">array</span> = {} local iterator = type(iterable) == "string" and iterString or iterable[1]...
function get_all_matches(str, pattern) local matches = require 'Module:<span class="searchmatch">array</span>'() for match in str:gmatch(pattern) do matches:insert(match) end return...