<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3Atable%2Fappend</id>
	<title>Module:table/append - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://linguifex.com/w/index.php?action=history&amp;feed=atom&amp;title=Module%3Atable%2Fappend"/>
	<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:table/append&amp;action=history"/>
	<updated>2026-05-23T14:16:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://linguifex.com/w/index.php?title=Module:table/append&amp;diff=521186&amp;oldid=prev</id>
		<title>Sware: Created page with &quot;local select = select  local function append(n, i, t, t_len, item, ...) 	local k = 0 	while true do 		k = k + 1 		local v = item[k] 		if v ~= nil then 			t_len = t_len + 1 			t[t_len] = v 		elseif i == n then 			return t 		else 			return append(n, i + 1, t, t_len, ...) 		end 	end end  --[==[ Appends any number of lists together as a new list.]==] return function(...) 	local n, t = select(&quot;#&quot;, ...), {} 	return n == 0 and t or append(n, 1, t, 0, ...) end&quot;</title>
		<link rel="alternate" type="text/html" href="https://linguifex.com/w/index.php?title=Module:table/append&amp;diff=521186&amp;oldid=prev"/>
		<updated>2026-05-09T12:34:14Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local select = select  local function append(n, i, t, t_len, item, ...) 	local k = 0 	while true do 		k = k + 1 		local v = item[k] 		if v ~= nil then 			t_len = t_len + 1 			t[t_len] = v 		elseif i == n then 			return t 		else 			return append(n, i + 1, t, t_len, ...) 		end 	end end  --[==[ Appends any number of lists together as a new list.]==] return function(...) 	local n, t = select(&amp;quot;#&amp;quot;, ...), {} 	return n == 0 and t or append(n, 1, t, 0, ...) end&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local select = select&lt;br /&gt;
&lt;br /&gt;
local function append(n, i, t, t_len, item, ...)&lt;br /&gt;
	local k = 0&lt;br /&gt;
	while true do&lt;br /&gt;
		k = k + 1&lt;br /&gt;
		local v = item[k]&lt;br /&gt;
		if v ~= nil then&lt;br /&gt;
			t_len = t_len + 1&lt;br /&gt;
			t[t_len] = v&lt;br /&gt;
		elseif i == n then&lt;br /&gt;
			return t&lt;br /&gt;
		else&lt;br /&gt;
			return append(n, i + 1, t, t_len, ...)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
--[==[&lt;br /&gt;
Appends any number of lists together as a new list.]==]&lt;br /&gt;
return function(...)&lt;br /&gt;
	local n, t = select(&amp;quot;#&amp;quot;, ...), {}&lt;br /&gt;
	return n == 0 and t or append(n, 1, t, 0, ...)&lt;br /&gt;
end&lt;/div&gt;</summary>
		<author><name>Sware</name></author>
	</entry>
</feed>