<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.memcp.org/index.php?action=history&amp;feed=atom&amp;title=Lists</id>
	<title>Lists - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.memcp.org/index.php?action=history&amp;feed=atom&amp;title=Lists"/>
	<link rel="alternate" type="text/html" href="https://www.memcp.org/index.php?title=Lists&amp;action=history"/>
	<updated>2026-04-24T16:47:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://www.memcp.org/index.php?title=Lists&amp;diff=225&amp;oldid=prev</id>
		<title>Aiagent: Created page with &quot;= Lists =  The &#039;&#039;&#039;Lists&#039;&#039;&#039; module provides comprehensive list manipulation and processing functions for the SCM programming language. This module includes:  * &#039;&#039;&#039;List operations&#039;&#039;&#039;: Basic operations like counting (count), accessing elements (nth), and type checking (list?) * &#039;&#039;&#039;List construction&#039;&#039;&#039;: Building lists with append, cons, and unique operations (append_unique, merge_unique) * &#039;&#039;&#039;List deconstruction&#039;&#039;&#039;: Extracting parts with car (head), cdr (tail), and filtering...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.memcp.org/index.php?title=Lists&amp;diff=225&amp;oldid=prev"/>
		<updated>2025-08-25T16:46:21Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Lists =  The &amp;#039;&amp;#039;&amp;#039;Lists&amp;#039;&amp;#039;&amp;#039; module provides comprehensive list manipulation and processing functions for the SCM programming language. This module includes:  * &amp;#039;&amp;#039;&amp;#039;List operations&amp;#039;&amp;#039;&amp;#039;: Basic operations like counting (count), accessing elements (nth), and type checking (list?) * &amp;#039;&amp;#039;&amp;#039;List construction&amp;#039;&amp;#039;&amp;#039;: Building lists with append, cons, and unique operations (append_unique, merge_unique) * &amp;#039;&amp;#039;&amp;#039;List deconstruction&amp;#039;&amp;#039;&amp;#039;: Extracting parts with car (head), cdr (tail), and filtering...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Lists =&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;Lists&amp;#039;&amp;#039;&amp;#039; module provides comprehensive list manipulation and processing functions for the SCM programming language. This module includes:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;List operations&amp;#039;&amp;#039;&amp;#039;: Basic operations like counting (count), accessing elements (nth), and type checking (list?)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;List construction&amp;#039;&amp;#039;&amp;#039;: Building lists with append, cons, and unique operations (append_unique, merge_unique)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;List deconstruction&amp;#039;&amp;#039;&amp;#039;: Extracting parts with car (head), cdr (tail), and filtering operations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Functional programming&amp;#039;&amp;#039;&amp;#039;: Higher-order functions like map, filter, reduce, and produce for advanced list processing&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;List utilities&amp;#039;&amp;#039;&amp;#039;: Searching (has?, contains?), merging, zipping, and flattening operations&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;List generation&amp;#039;&amp;#039;&amp;#039;: Creating sequences and ranges with produce and produceN functions&lt;br /&gt;
&lt;br /&gt;
These functions provide the essential tools for working with lists as the primary data structure in functional programming with SCM.&lt;br /&gt;
&lt;br /&gt;
← Back to [[Full SCM API documentation]]&lt;br /&gt;
&lt;br /&gt;
== count ==&lt;br /&gt;
&lt;br /&gt;
counts the number of elements in the list&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 1–1&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;list&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;): base list&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;int&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== nth ==&lt;br /&gt;
&lt;br /&gt;
get the nth item of a list&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 2–2&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;list&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;): base list&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;index&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;): index beginning from 0&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;any&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== append ==&lt;br /&gt;
&lt;br /&gt;
appends items to a list and return the extended list. The original list stays unharmed.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 2–1000&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;list&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;): base list&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;item...&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;any&amp;lt;/code&amp;gt;): items to add&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== append_unique ==&lt;br /&gt;
&lt;br /&gt;
appends items to a list but only if they are new. The original list stays unharmed.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 2–1000&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;list&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;): base list&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;item...&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;any&amp;lt;/code&amp;gt;): items to add&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== cons ==&lt;br /&gt;
&lt;br /&gt;
constructs a list from a head and a tail list&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 2–2&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;car&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;any&amp;lt;/code&amp;gt;): new head element&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;cdr&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;): tail that is appended after car&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== car ==&lt;br /&gt;
&lt;br /&gt;
extracts the head of a list&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 1–1&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;list&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;): list&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;any&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== cdr ==&lt;br /&gt;
&lt;br /&gt;
extracts the tail of a list. The tail of a list is a list with all items except the head.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 1–1&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;list&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;): list&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;any&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== zip ==&lt;br /&gt;
&lt;br /&gt;
swaps the dimension of a list of lists. If one parameter is given, it is a list of lists that is flattened. If multiple parameters are given, they are treated as the components that will be zipped into the sub list&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 1–1000&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;list&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;): list of lists of items&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== merge ==&lt;br /&gt;
&lt;br /&gt;
flattens a list of lists into a list containing all the subitems. If one parameter is given, it is a list of lists that is flattened. If multiple parameters are given, they are treated as lists that will be merged into one&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 1–1000&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;list&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;): list of lists of items&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== merge_unique ==&lt;br /&gt;
&lt;br /&gt;
flattens a list of lists into a list containing all the subitems. Duplicates are filtered out.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 1–1000&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;list&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;): list of lists of items&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== has? ==&lt;br /&gt;
&lt;br /&gt;
checks if a list has a certain item (equal?)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 2–2&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;haystack&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;): list to search in&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;needle&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;any&amp;lt;/code&amp;gt;): item to search for&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;bool&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== filter ==&lt;br /&gt;
&lt;br /&gt;
returns a list that only contains elements that pass the filter function&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 2–2&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;list&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;): list that has to be filtered&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;condition&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;func&amp;lt;/code&amp;gt;): filter condition func(any)-&amp;gt;bool&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== map ==&lt;br /&gt;
&lt;br /&gt;
returns a list that contains the results of a map function that is applied to the list&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 2–2&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;list&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;): list that has to be mapped&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;map&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;func&amp;lt;/code&amp;gt;): map function func(any)-&amp;gt;any that is applied to each item&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== mapIndex ==&lt;br /&gt;
&lt;br /&gt;
returns a list that contains the results of a map function that is applied to the list&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 2–2&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;list&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;): list that has to be mapped&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;map&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;func&amp;lt;/code&amp;gt;): map function func(i, any)-&amp;gt;any that is applied to each item&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== reduce ==&lt;br /&gt;
&lt;br /&gt;
returns a list that contains the result of a map function&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 2–3&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;list&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;): list that has to be reduced&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;reduce&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;func&amp;lt;/code&amp;gt;): reduce function func(any any)-&amp;gt;any where the first parameter is the accumulator, the second is a list item&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;neutral&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;any&amp;lt;/code&amp;gt;): (optional) initial value of the accumulator, defaults to nil&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;any&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== produce ==&lt;br /&gt;
&lt;br /&gt;
returns a list that contains produced items - it works like for(state = startstate, condition(state), state = iterator(state)) {yield state}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 3–3&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;startstate&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;any&amp;lt;/code&amp;gt;): start state to begin with&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;condition&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;func&amp;lt;/code&amp;gt;): func that returns true whether the state will be inserted into the result or the loop is stopped&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;iterator&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;func&amp;lt;/code&amp;gt;): func that produces the next state&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== produceN ==&lt;br /&gt;
&lt;br /&gt;
returns a list with numbers from 0..n-1&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 1–1&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;): number of elements to produce&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== list? ==&lt;br /&gt;
&lt;br /&gt;
checks if a value is a list&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 1–1&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;any&amp;lt;/code&amp;gt;): value to check&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;bool&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== contains? ==&lt;br /&gt;
&lt;br /&gt;
checks if a value is in a list; uses the equal?? operator&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Allowed number of parameters:&amp;#039;&amp;#039;&amp;#039; 2–2&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Parameters:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;list&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt;): list to check&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;value&amp;#039;&amp;#039;&amp;#039; (&amp;lt;code&amp;gt;any&amp;lt;/code&amp;gt;): value to check&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Returns:&amp;#039;&amp;#039;&amp;#039; &amp;lt;code&amp;gt;bool&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Aiagent</name></author>
	</entry>
</feed>