<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nara.vindexcraft.net/index.php?action=history&amp;feed=atom&amp;title=Module%3AFunc</id>
	<title>Module:Func - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nara.vindexcraft.net/index.php?action=history&amp;feed=atom&amp;title=Module%3AFunc"/>
	<link rel="alternate" type="text/html" href="https://nara.vindexcraft.net/index.php?title=Module:Func&amp;action=history"/>
	<updated>2026-10-07T03:45:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://nara.vindexcraft.net/index.php?title=Module:Func&amp;diff=324&amp;oldid=prev</id>
		<title>Clarke: 1 revision imported: forgot this existed...</title>
		<link rel="alternate" type="text/html" href="https://nara.vindexcraft.net/index.php?title=Module:Func&amp;diff=324&amp;oldid=prev"/>
		<updated>2023-04-19T19:03:56Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported: forgot this existed...&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:03, 19 April 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Clarke</name></author>
	</entry>
	<entry>
		<id>https://nara.vindexcraft.net/index.php?title=Module:Func&amp;diff=323&amp;oldid=prev</id>
		<title>NARA&gt;WOSlinker: remove no globals link</title>
		<link rel="alternate" type="text/html" href="https://nara.vindexcraft.net/index.php?title=Module:Func&amp;diff=323&amp;oldid=prev"/>
		<updated>2022-10-23T14:56:21Z</updated>

		<summary type="html">&lt;p&gt;remove no globals link&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--------------------------------------------------------------------------------&lt;br /&gt;
-- This module provies helper functions for manipulating Lua functions.&lt;br /&gt;
--&lt;br /&gt;
-- @module func&lt;br /&gt;
-- @alias  p&lt;br /&gt;
-- @author ExE Boss&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
require(&amp;quot;strict&amp;quot;);&lt;br /&gt;
local checkTypeMulti = require(&amp;quot;libraryUtil&amp;quot;).checkTypeMulti;&lt;br /&gt;
&lt;br /&gt;
local p = {};&lt;br /&gt;
&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
-- Creates a bound function that calls `func` with the varargs passed to `bind`&lt;br /&gt;
-- preceding the varargs passed to the newly created bound function.&lt;br /&gt;
--&lt;br /&gt;
-- @param {function} func&lt;br /&gt;
-- @param {any} ...&lt;br /&gt;
-- @return {function}&lt;br /&gt;
-- @see https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Function/bind&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
function p.bind(func, ...)&lt;br /&gt;
	checkTypeMulti(&amp;quot;bind&amp;quot;, 1, func, { &amp;quot;table&amp;quot;, &amp;quot;function&amp;quot; });&lt;br /&gt;
&lt;br /&gt;
	local len = select(&amp;quot;#&amp;quot;, ...);&lt;br /&gt;
	local args = {...};&lt;br /&gt;
&lt;br /&gt;
	return function(...)&lt;br /&gt;
		return func(unpack(args, 1, len), ...);&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p;&lt;/div&gt;</summary>
		<author><name>NARA&gt;WOSlinker</name></author>
	</entry>
</feed>