<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://stadtbahn-bi.wiki/index.php?action=history&amp;feed=atom&amp;title=Modul%3AFunc</id>
	<title>Modul:Func - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://stadtbahn-bi.wiki/index.php?action=history&amp;feed=atom&amp;title=Modul%3AFunc"/>
	<link rel="alternate" type="text/html" href="https://stadtbahn-bi.wiki/index.php?title=Modul:Func&amp;action=history"/>
	<updated>2026-06-06T06:48:19Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Stadtbahn-Wiki Bielefeld</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://stadtbahn-bi.wiki/index.php?title=Modul:Func&amp;diff=4435&amp;oldid=prev</id>
		<title>Tt: 1 Version importiert</title>
		<link rel="alternate" type="text/html" href="https://stadtbahn-bi.wiki/index.php?title=Modul:Func&amp;diff=4435&amp;oldid=prev"/>
		<updated>2021-10-09T14:25:45Z</updated>

		<summary type="html">&lt;p&gt;1 Version importiert&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 9. Oktober 2021, 14:25 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;de&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(kein Unterschied)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key stadtbahn_bi_wiki:diff:1.41:old-4434:rev-4435 --&gt;
&lt;/table&gt;</summary>
		<author><name>Tt</name></author>
	</entry>
	<entry>
		<id>https://stadtbahn-bi.wiki/index.php?title=Modul:Func&amp;diff=4434&amp;oldid=prev</id>
		<title>StadtbahnBI&gt;ExE Boss: Copied from mw:Module:Func</title>
		<link rel="alternate" type="text/html" href="https://stadtbahn-bi.wiki/index.php?title=Modul:Func&amp;diff=4434&amp;oldid=prev"/>
		<updated>2021-08-27T16:56:57Z</updated>

		<summary type="html">&lt;p&gt;Copied from &lt;a href=&quot;https://www.mediawiki.org/wiki/Module:Func&quot; class=&quot;extiw&quot; title=&quot;mw:Module:Func&quot;&gt;mw:Module:Func&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&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;
-- @require [[Module:No globals]]&lt;br /&gt;
--------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
require(&amp;quot;Module:No globals&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>StadtbahnBI&gt;ExE Boss</name></author>
	</entry>
</feed>