<p><a href="#cmp">cmp</a> <a href="#eq">eq</a> <a href="#ge">ge</a> <a href="#gt">gt</a> <a href="#le">le</a> <a href="#ne">ne</a></p>
<hr />
<h2 id="make_generator">make_generator</h2>
-<p>Basis Function Combinator</p>
-<p>[codireco] ccons</p>
-<p>Gentzen diagram.</p>
+<p>Function</p>
+<p>Given an initial state value and a quoted generator function build a generator quote.</p>
+<pre><code> state [generator function] make_generator
+-----------------------------------------------
+ [state [generator function] codireco]</code></pre>
+<h3 id="example-9">Example</h3>
+<pre><code> 230 [dup ++] make_generator
+---------------------------------
+ [230 [dup ++] codireco]</code></pre>
+<p>And then:</p>
+<pre><code> [230 [dup ++] codireco] 5 [x] times pop
+---------------------------------------------
+ 230 231 232 233 234</code></pre>
<h3 id="definition-48">Definition</h3>
-<p>if not basis.</p>
-<h3 id="derivation-3">Derivation</h3>
-<p>if not basis.</p>
-<h3 id="source">Source</h3>
-<p>if basis</p>
+<blockquote>
+<p>[<a href="#codireco">codireco</a>] <a href="#ccons">ccons</a></p>
+</blockquote>
<h3 id="discussion-47">Discussion</h3>
-<p>Lorem ipsum.</p>
+<p>See the <a href="https://joypy.osdn.io/notebooks/Generator_Programs.html#an-interesting-variation">“Using <code>x</code> to Generate Values” notebook</a>.</p>
<h3 id="crosslinks-59">Crosslinks</h3>
-<p>Lorem ipsum.</p>
+<p><a href="#codireco">codireco</a></p>
<hr />
<h2 id="map">map</h2>
-<p>Basis Function Combinator</p>
-<p>Run the quoted program on TOS on the items in the list under it, push a new list with the results in place of the program and original list.</p>
-<p>Gentzen diagram.</p>
-<h3 id="definition-49">Definition</h3>
-<p>if not basis.</p>
-<h3 id="derivation-4">Derivation</h3>
-<p>if not basis.</p>
-<h3 id="source-1">Source</h3>
-<p>if basis</p>
+<p>Combinator</p>
+<p>Given a list of items and a quoted program run the program for each item in the list (with the rest of the stack) and replace the old list and the program with a list of the results.</p>
+<h3 id="example-10">Example</h3>
+<pre><code> 5 [1 2 3] [++ *] map
+--------------------------
+ 5 [10 15 20]</code></pre>
<h3 id="discussion-48">Discussion</h3>
-<p>Lorem ipsum.</p>
+<p>This is a common operation in many languages. In Joy it can be a parallelism combinator due to the “pure” nature of the language.</p>
<h3 id="crosslinks-60">Crosslinks</h3>
-<p>Lorem ipsum.</p>
+<p><a href="#app1">app1</a> <a href="#app2">app2</a> <a href="#app3">app3</a> <a href="#appn">appN</a> <a href="#fork">fork</a></p>
<hr />
<h2 id="max">max</h2>
-<p>Basis Function Combinator</p>
+<p>Basis Function</p>
<p>Given a list find the maximum.</p>
-<p>Gentzen diagram.</p>
-<h3 id="definition-50">Definition</h3>
-<p>if not basis.</p>
-<h3 id="derivation-5">Derivation</h3>
-<p>if not basis.</p>
-<h3 id="source-2">Source</h3>
-<p>if basis</p>
-<h3 id="discussion-49">Discussion</h3>
-<p>Lorem ipsum.</p>
+<h3 id="example-11">Example</h3>
+<pre><code> [1 2 3 4] max
+-------------------
+ 4</code></pre>
<h3 id="crosslinks-61">Crosslinks</h3>
-<p>Lorem ipsum.</p>
+<p><a href="#min">min</a> <a href="#size">size</a> <a href="#sum">sum</a></p>
<hr />
<h2 id="min">min</h2>
-<p>Basis Function Combinator</p>
+<p>Basis Function</p>
<p>Given a list find the minimum.</p>
-<p>Gentzen diagram.</p>
-<h3 id="definition-51">Definition</h3>
-<p>if not basis.</p>
-<h3 id="derivation-6">Derivation</h3>
-<p>if not basis.</p>
-<h3 id="source-3">Source</h3>
-<p>if basis</p>
-<h3 id="discussion-50">Discussion</h3>
-<p>Lorem ipsum.</p>
+<h3 id="example-12">Example</h3>
+<pre><code> [1 2 3 4] min
+-------------------
+ 1 </code></pre>
<h3 id="crosslinks-62">Crosslinks</h3>
-<p>Lorem ipsum.</p>
+<p><a href="#max">max</a> <a href="#size">size</a> <a href="#sum">sum</a></p>
<hr />
<h2 id="mod">mod</h2>
-<p>Basis Function Combinator</p>
-<p>Same as a % b.</p>
-<p>Gentzen diagram.</p>
-<h3 id="definition-52">Definition</h3>
-<p>if not basis.</p>
-<h3 id="derivation-7">Derivation</h3>
-<p>if not basis.</p>
-<h3 id="source-4">Source</h3>
-<p>if basis</p>
-<h3 id="discussion-51">Discussion</h3>
-<p>Lorem ipsum.</p>
+<p>Basis Function</p>
+<p>Return the remainder of <code>a</code> divided by <code>b</code>.</p>
+<pre><code> a b mod
+-------------
+ (a%b)</code></pre>
<h3 id="crosslinks-63">Crosslinks</h3>
-<p>Lorem ipsum.</p>
+<p><a href="#divmod">divmod</a> <a href="#mul">mul</a></p>
<hr />
<h2 id="modulus">modulus</h2>
<p>See <a href="#mod">mod</a>.</p>
<hr />
<h2 id="mul">mul</h2>
-<p>Basis Function Combinator</p>
-<p>Same as a * b.</p>
-<p>Gentzen diagram.</p>
-<h3 id="definition-53">Definition</h3>
-<p>if not basis.</p>
-<h3 id="derivation-8">Derivation</h3>
-<p>if not basis.</p>
-<h3 id="source-5">Source</h3>
-<p>if basis</p>
-<h3 id="discussion-52">Discussion</h3>
-<p>Lorem ipsum.</p>
+<p>Basis Function</p>
+<p>Multiply two numbers.</p>
+<pre><code> a b mul
+-------------
+ (a×b)</code></pre>
<h3 id="crosslinks-64">Crosslinks</h3>
-<p>Lorem ipsum.</p>
+<p><a href="#div">div</a> <a href="#product">product</a></p>
<hr />
<h2 id="ne">ne</h2>
<p>Basis Function</p>
<p>Basis Function Combinator</p>
<p>Same as -a.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-54">Definition</h3>
+<h3 id="definition-49">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-9">Derivation</h3>
+<h3 id="derivation-3">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-6">Source</h3>
+<h3 id="source">Source</h3>
<p>if basis</p>
-<h3 id="discussion-53">Discussion</h3>
+<h3 id="discussion-49">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-66">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Same as not a.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-55">Definition</h3>
+<h3 id="definition-50">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-10">Derivation</h3>
+<h3 id="derivation-4">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-7">Source</h3>
+<h3 id="source-1">Source</h3>
<p>if basis</p>
-<h3 id="discussion-54">Discussion</h3>
+<h3 id="discussion-50">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-67">Crosslinks</h3>
<p>Lorem ipsum.</p>
N !-
---------- N >= 0
true</code></pre>
-<h3 id="definition-56">Definition</h3>
+<h3 id="definition-51">Definition</h3>
<pre><code>0 >=</code></pre>
<hr />
<h2 id="nulco">nulco</h2>
<p>Basis Function Combinator</p>
<p>[nullary] cons</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-57">Definition</h3>
+<h3 id="definition-52">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-11">Derivation</h3>
+<h3 id="derivation-5">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-8">Source</h3>
+<h3 id="source-2">Source</h3>
<p>if basis</p>
-<h3 id="discussion-55">Discussion</h3>
+<h3 id="discussion-51">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-68">Crosslinks</h3>
<p>Lorem ipsum.</p>
<pre><code> ... [P] nullary
---------------------
... A</code></pre>
-<h3 id="definition-58">Definition</h3>
+<h3 id="definition-53">Definition</h3>
<pre><code>[stack] dip infra first</code></pre>
-<h3 id="derivation-12">Derivation</h3>
+<h3 id="derivation-6">Derivation</h3>
<pre><code>... [P] nullary
... [P] [stack] dip infra first
... stack [P] infra first
... [...] [P] infra first
... [A ...] first
... A</code></pre>
-<h3 id="discussion-56">Discussion</h3>
+<h3 id="discussion-52">Discussion</h3>
<p>A very useful function that runs any other quoted function and returns it’s first result without disturbing the stack (under the quoted program.)</p>
<h3 id="crosslinks-69">Crosslinks</h3>
<p><a href="#unary">unary</a> <a href="#binary">binary</a> <a href="#ternary">ternary</a></p>
<p>Basis Function Combinator</p>
<p>swap at</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-59">Definition</h3>
+<h3 id="definition-54">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-13">Derivation</h3>
+<h3 id="derivation-7">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-9">Source</h3>
+<h3 id="source-3">Source</h3>
<p>if basis</p>
-<h3 id="discussion-57">Discussion</h3>
+<h3 id="discussion-53">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-70">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Same as a | b.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-60">Definition</h3>
+<h3 id="definition-55">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-14">Derivation</h3>
+<h3 id="derivation-8">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-10">Source</h3>
+<h3 id="source-4">Source</h3>
<p>if basis</p>
-<h3 id="discussion-58">Discussion</h3>
+<h3 id="discussion-54">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-71">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(a2 a1 -- a2 a1 a2)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-61">Definition</h3>
+<h3 id="definition-56">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-15">Derivation</h3>
+<h3 id="derivation-9">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-11">Source</h3>
+<h3 id="source-5">Source</h3>
<p>if basis</p>
-<h3 id="discussion-59">Discussion</h3>
+<h3 id="discussion-55">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-72">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[i] map</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-62">Definition</h3>
+<h3 id="definition-57">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-16">Derivation</h3>
+<h3 id="derivation-10">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-12">Source</h3>
+<h3 id="source-6">Source</h3>
<p>if basis</p>
-<h3 id="discussion-60">Discussion</h3>
+<h3 id="discussion-56">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-73">Crosslinks</h3>
<p>Lorem ipsum.</p>
-------------
a+b a-b</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-63">Definition</h3>
+<h3 id="definition-58">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-17">Derivation</h3>
+<h3 id="derivation-11">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-13">Source</h3>
+<h3 id="source-7">Source</h3>
<p>if basis</p>
-<h3 id="discussion-61">Discussion</h3>
+<h3 id="discussion-57">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-74">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(a1 --)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-64">Definition</h3>
+<h3 id="definition-59">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-18">Derivation</h3>
+<h3 id="derivation-12">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-14">Source</h3>
+<h3 id="source-8">Source</h3>
<p>if basis</p>
-<h3 id="discussion-62">Discussion</h3>
+<h3 id="discussion-58">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-75">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(a2 a1 -- a1)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-65">Definition</h3>
+<h3 id="definition-60">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-19">Derivation</h3>
+<h3 id="derivation-13">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-15">Source</h3>
+<h3 id="source-9">Source</h3>
<p>if basis</p>
-<h3 id="discussion-63">Discussion</h3>
+<h3 id="discussion-59">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-76">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(a3 a2 a1 -- a2 a1)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-66">Definition</h3>
+<h3 id="definition-61">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-20">Derivation</h3>
+<h3 id="derivation-14">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-16">Source</h3>
+<h3 id="source-10">Source</h3>
<p>if basis</p>
-<h3 id="discussion-64">Discussion</h3>
+<h3 id="discussion-60">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-77">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(a2 a1 --)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-67">Definition</h3>
+<h3 id="definition-62">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-21">Derivation</h3>
+<h3 id="derivation-15">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-17">Source</h3>
+<h3 id="source-11">Source</h3>
<p>if basis</p>
-<h3 id="discussion-65">Discussion</h3>
+<h3 id="discussion-61">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-78">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(a3 a2 a1 -- a1)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-68">Definition</h3>
+<h3 id="definition-63">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-22">Derivation</h3>
+<h3 id="derivation-16">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-18">Source</h3>
+<h3 id="source-12">Source</h3>
<p>if basis</p>
-<h3 id="discussion-66">Discussion</h3>
+<h3 id="discussion-62">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-79">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(a4 a3 a2 a1 -- a2 a1)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-69">Definition</h3>
+<h3 id="definition-64">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-23">Derivation</h3>
+<h3 id="derivation-17">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-19">Source</h3>
+<h3 id="source-13">Source</h3>
<p>if basis</p>
-<h3 id="discussion-67">Discussion</h3>
+<h3 id="discussion-63">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-80">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>pop popop</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-70">Definition</h3>
+<h3 id="definition-65">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-24">Derivation</h3>
+<h3 id="derivation-18">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-20">Source</h3>
+<h3 id="source-14">Source</h3>
<p>if basis</p>
-<h3 id="discussion-68">Discussion</h3>
+<h3 id="discussion-64">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-81">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Same as a ** b.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-71">Definition</h3>
+<h3 id="definition-66">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-25">Derivation</h3>
+<h3 id="derivation-19">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-21">Source</h3>
+<h3 id="source-15">Source</h3>
<p>if basis</p>
-<h3 id="discussion-69">Discussion</h3>
+<h3 id="discussion-65">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-82">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Decrement TOS.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-72">Definition</h3>
+<h3 id="definition-67">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-26">Derivation</h3>
+<h3 id="derivation-20">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-22">Source</h3>
+<h3 id="source-16">Source</h3>
<p>if basis</p>
-<h3 id="discussion-70">Discussion</h3>
+<h3 id="discussion-66">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-83">Crosslinks</h3>
<p>Lorem ipsum.</p>
------------------------------------------ n > 0
n (n-1) [Base] [Recur] primrec Recur</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-73">Definition</h3>
+<h3 id="definition-68">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-27">Derivation</h3>
+<h3 id="derivation-21">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-23">Source</h3>
+<h3 id="source-17">Source</h3>
<p>if basis</p>
-<h3 id="discussion-71">Discussion</h3>
+<h3 id="discussion-67">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-84">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>1 swap [*] step</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-74">Definition</h3>
+<h3 id="definition-69">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-28">Derivation</h3>
+<h3 id="derivation-22">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-24">Source</h3>
+<h3 id="source-18">Source</h3>
<p>if basis</p>
-<h3 id="discussion-72">Discussion</h3>
+<h3 id="discussion-68">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-85">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[unit] dip</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-75">Definition</h3>
+<h3 id="definition-70">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-29">Derivation</h3>
+<h3 id="derivation-23">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-25">Source</h3>
+<h3 id="source-19">Source</h3>
<p>if basis</p>
-<h3 id="discussion-73">Discussion</h3>
+<h3 id="discussion-69">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-86">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[0 <=] [1 - dup] anamorphism</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-76">Definition</h3>
+<h3 id="definition-71">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-30">Derivation</h3>
+<h3 id="derivation-24">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-26">Source</h3>
+<h3 id="source-20">Source</h3>
<p>if basis</p>
-<h3 id="discussion-74">Discussion</h3>
+<h3 id="discussion-70">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-87">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>unit [down_to_zero] infra</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-77">Definition</h3>
+<h3 id="definition-72">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-31">Derivation</h3>
+<h3 id="derivation-25">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-27">Source</h3>
+<h3 id="source-21">Source</h3>
<p>if basis</p>
-<h3 id="discussion-75">Discussion</h3>
+<h3 id="discussion-71">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-88">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>rest cons</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-78">Definition</h3>
+<h3 id="definition-73">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-32">Derivation</h3>
+<h3 id="derivation-26">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-28">Source</h3>
+<h3 id="source-22">Source</h3>
<p>if basis</p>
-<h3 id="discussion-76">Discussion</h3>
+<h3 id="discussion-72">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-89">Crosslinks</h3>
<p>Lorem ipsum.</p>
------------------------
[2 3 1]</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-79">Definition</h3>
+<h3 id="definition-74">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-33">Derivation</h3>
+<h3 id="derivation-27">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-29">Source</h3>
+<h3 id="source-23">Source</h3>
<p>if basis</p>
-<h3 id="discussion-77">Discussion</h3>
+<h3 id="discussion-73">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-90">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>([a1 ...0] -- [...0])</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-80">Definition</h3>
+<h3 id="definition-75">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-34">Derivation</h3>
+<h3 id="derivation-28">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-30">Source</h3>
+<h3 id="source-24">Source</h3>
<p>if basis</p>
-<h3 id="discussion-78">Discussion</h3>
+<h3 id="discussion-74">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-91">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Reverse the list on the top of the stack. :</p>
<pre><code>reverse == [] swap shunt</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-81">Definition</h3>
+<h3 id="definition-76">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-35">Derivation</h3>
+<h3 id="derivation-29">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-31">Source</h3>
+<h3 id="source-25">Source</h3>
<p>if basis</p>
-<h3 id="discussion-79">Discussion</h3>
+<h3 id="discussion-75">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-92">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(a1 a2 a3 -- a2 a3 a1)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-82">Definition</h3>
+<h3 id="definition-77">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-36">Derivation</h3>
+<h3 id="derivation-30">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-32">Source</h3>
+<h3 id="source-26">Source</h3>
<p>if basis</p>
-<h3 id="discussion-80">Discussion</h3>
+<h3 id="discussion-76">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-93">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(a1 a2 a3 -- a3 a1 a2)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-83">Definition</h3>
+<h3 id="definition-78">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-37">Derivation</h3>
+<h3 id="derivation-31">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-33">Source</h3>
+<h3 id="source-27">Source</h3>
<p>if basis</p>
-<h3 id="discussion-81">Discussion</h3>
+<h3 id="discussion-77">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-94">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Round a number to a given precision in decimal digits.</p>
<p>The return value is an integer if ndigits is omitted or None. Otherwise the return value has the same type as the number. ndigits may be negative.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-84">Definition</h3>
+<h3 id="definition-79">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-38">Derivation</h3>
+<h3 id="derivation-32">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-34">Source</h3>
+<h3 id="source-28">Source</h3>
<p>if basis</p>
-<h3 id="discussion-82">Discussion</h3>
+<h3 id="discussion-78">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-95">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>([a1 a2 ...1] -- [...1])</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-85">Definition</h3>
+<h3 id="definition-80">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-39">Derivation</h3>
+<h3 id="derivation-33">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-35">Source</h3>
+<h3 id="source-29">Source</h3>
<p>if basis</p>
-<h3 id="discussion-83">Discussion</h3>
+<h3 id="discussion-79">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-96">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p><{} infra</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-86">Definition</h3>
+<h3 id="definition-81">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-40">Derivation</h3>
+<h3 id="derivation-34">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-36">Source</h3>
+<h3 id="source-30">Source</h3>
<p>if basis</p>
-<h3 id="discussion-84">Discussion</h3>
+<h3 id="discussion-80">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-98">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>([a1 a2 ...1] -- a2)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-87">Definition</h3>
+<h3 id="definition-82">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-41">Derivation</h3>
+<h3 id="derivation-35">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-37">Source</h3>
+<h3 id="source-31">Source</h3>
<p>if basis</p>
-<h3 id="discussion-85">Discussion</h3>
+<h3 id="discussion-81">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-99">Crosslinks</h3>
<p>Lorem ipsum.</p>
B</code></pre>
<p>The sequence can contain more than two items but not fewer. Currently Python semantics are used to evaluate the "truthiness" of the Boolean value (so empty string, zero, etc. are counted as false, etc.)</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-88">Definition</h3>
+<h3 id="definition-83">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-42">Derivation</h3>
+<h3 id="derivation-36">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-38">Source</h3>
+<h3 id="source-32">Source</h3>
<p>if basis</p>
-<h3 id="discussion-86">Discussion</h3>
+<h3 id="discussion-82">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-100">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Print redistribution information.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-89">Definition</h3>
+<h3 id="definition-84">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-43">Derivation</h3>
+<h3 id="derivation-37">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-39">Source</h3>
+<h3 id="source-33">Source</h3>
<p>if basis</p>
-<h3 id="discussion-87">Discussion</h3>
+<h3 id="discussion-83">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-101">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>uncons [swons] dip</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-90">Definition</h3>
+<h3 id="definition-85">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-44">Derivation</h3>
+<h3 id="derivation-38">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-40">Source</h3>
+<h3 id="source-34">Source</h3>
<p>if basis</p>
-<h3 id="discussion-88">Discussion</h3>
+<h3 id="discussion-84">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-102">Crosslinks</h3>
<p>Lorem ipsum.</p>
---------------------------
[f e d a b c] </code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-91">Definition</h3>
+<h3 id="definition-86">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-45">Derivation</h3>
+<h3 id="derivation-39">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-41">Source</h3>
+<h3 id="source-35">Source</h3>
<p>if basis</p>
-<h3 id="discussion-89">Discussion</h3>
+<h3 id="discussion-85">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-103">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[pop ++] step_zero</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-92">Definition</h3>
+<h3 id="definition-87">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-46">Derivation</h3>
+<h3 id="derivation-40">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-42">Source</h3>
+<h3 id="source-36">Source</h3>
<p>if basis</p>
-<h3 id="discussion-90">Discussion</h3>
+<h3 id="discussion-86">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-104">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Given a list return it sorted.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-93">Definition</h3>
+<h3 id="definition-88">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-47">Derivation</h3>
+<h3 id="derivation-41">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-43">Source</h3>
+<h3 id="source-37">Source</h3>
<p>if basis</p>
-<h3 id="discussion-91">Discussion</h3>
+<h3 id="discussion-87">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-105">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[[[abs] ii <=] [[<>] [pop !-] ||] &&] [[!-] [[++]] [[--]] ifte dip] [[pop !-] [--] [++] ifte] ifte</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-94">Definition</h3>
+<h3 id="definition-89">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-48">Derivation</h3>
+<h3 id="derivation-42">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-44">Source</h3>
+<h3 id="source-38">Source</h3>
<p>if basis</p>
-<h3 id="discussion-92">Discussion</h3>
+<h3 id="discussion-88">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-106">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[drop] [take] clop</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-95">Definition</h3>
+<h3 id="definition-90">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-49">Derivation</h3>
+<h3 id="derivation-43">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-45">Source</h3>
+<h3 id="source-39">Source</h3>
<p>if basis</p>
-<h3 id="discussion-93">Discussion</h3>
+<h3 id="discussion-89">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-107">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[take reverse] [drop] clop</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-96">Definition</h3>
+<h3 id="definition-91">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-50">Derivation</h3>
+<h3 id="derivation-44">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-46">Source</h3>
+<h3 id="source-40">Source</h3>
<p>if basis</p>
-<h3 id="discussion-94">Discussion</h3>
+<h3 id="discussion-90">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-108">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>dup *</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-97">Definition</h3>
+<h3 id="definition-92">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-51">Derivation</h3>
+<h3 id="derivation-45">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-47">Source</h3>
+<h3 id="source-41">Source</h3>
<p>if basis</p>
-<h3 id="discussion-95">Discussion</h3>
+<h3 id="discussion-91">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-109">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Return the square root of the number a. Negative numbers return complex roots.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-98">Definition</h3>
+<h3 id="definition-93">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-52">Derivation</h3>
+<h3 id="derivation-46">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-48">Source</h3>
+<h3 id="source-42">Source</h3>
<p>if basis</p>
-<h3 id="discussion-96">Discussion</h3>
+<h3 id="discussion-92">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-110">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(... -- ... [...])</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-99">Definition</h3>
+<h3 id="definition-94">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-53">Derivation</h3>
+<h3 id="derivation-47">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-49">Source</h3>
+<h3 id="source-43">Source</h3>
<p>if basis</p>
-<h3 id="discussion-97">Discussion</h3>
+<h3 id="discussion-93">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-111">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[stack] dip</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-100">Definition</h3>
+<h3 id="definition-95">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-54">Derivation</h3>
+<h3 id="derivation-48">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-50">Source</h3>
+<h3 id="source-44">Source</h3>
<p>if basis</p>
-<h3 id="discussion-98">Discussion</h3>
+<h3 id="discussion-94">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-112">Crosslinks</h3>
<p>Lorem ipsum.</p>
... a . Q [b c] [Q] step</code></pre>
<p>The step combinator executes the quotation on each member of the list on top of the stack.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-101">Definition</h3>
+<h3 id="definition-96">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-55">Derivation</h3>
+<h3 id="derivation-49">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-51">Source</h3>
+<h3 id="source-45">Source</h3>
<p>if basis</p>
-<h3 id="discussion-99">Discussion</h3>
+<h3 id="discussion-95">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-113">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>0 roll> step</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-102">Definition</h3>
+<h3 id="definition-97">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-56">Derivation</h3>
+<h3 id="derivation-50">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-52">Source</h3>
+<h3 id="source-46">Source</h3>
<p>if basis</p>
-<h3 id="discussion-100">Discussion</h3>
+<h3 id="discussion-96">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-114">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(... a1 -- ... a1 a1 [...])</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-103">Definition</h3>
+<h3 id="definition-98">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-57">Derivation</h3>
+<h3 id="derivation-51">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-53">Source</h3>
+<h3 id="source-47">Source</h3>
<p>if basis</p>
-<h3 id="discussion-101">Discussion</h3>
+<h3 id="discussion-97">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-115">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(... a2 a1 -- ... a2 a1 a1 a2 [...])</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-104">Definition</h3>
+<h3 id="definition-99">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-58">Derivation</h3>
+<h3 id="derivation-52">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-54">Source</h3>
+<h3 id="source-48">Source</h3>
<p>if basis</p>
-<h3 id="discussion-102">Discussion</h3>
+<h3 id="discussion-98">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-116">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Same as a - b.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-105">Definition</h3>
+<h3 id="definition-100">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-59">Derivation</h3>
+<h3 id="derivation-53">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-55">Source</h3>
+<h3 id="source-49">Source</h3>
<p>if basis</p>
-<h3 id="discussion-103">Discussion</h3>
+<h3 id="discussion-99">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-117">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Increment TOS.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-106">Definition</h3>
+<h3 id="definition-101">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-60">Derivation</h3>
+<h3 id="derivation-54">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-56">Source</h3>
+<h3 id="source-50">Source</h3>
<p>if basis</p>
-<h3 id="discussion-104">Discussion</h3>
+<h3 id="discussion-100">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-118">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Given a quoted sequence of numbers return the sum. :</p>
<pre><code>sum == 0 swap [+] step</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-107">Definition</h3>
+<h3 id="definition-102">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-61">Derivation</h3>
+<h3 id="derivation-55">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-57">Source</h3>
+<h3 id="source-51">Source</h3>
<p>if basis</p>
-<h3 id="discussion-105">Discussion</h3>
+<h3 id="discussion-101">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-119">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>([...1] -- [...0])</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-108">Definition</h3>
+<h3 id="definition-103">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-62">Derivation</h3>
+<h3 id="derivation-56">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-58">Source</h3>
+<h3 id="source-52">Source</h3>
<p>if basis</p>
-<h3 id="discussion-106">Discussion</h3>
+<h3 id="discussion-102">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-120">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(a1 a2 -- a2 a1)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-109">Definition</h3>
+<h3 id="definition-104">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-63">Derivation</h3>
+<h3 id="derivation-57">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-59">Source</h3>
+<h3 id="source-53">Source</h3>
<p>if basis</p>
-<h3 id="discussion-107">Discussion</h3>
+<h3 id="discussion-103">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-121">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[swap] dip</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-110">Definition</h3>
+<h3 id="definition-105">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-64">Derivation</h3>
+<h3 id="derivation-58">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-60">Source</h3>
+<h3 id="source-54">Source</h3>
<p>if basis</p>
-<h3 id="discussion-108">Discussion</h3>
+<h3 id="discussion-104">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-122">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>swap concat</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-111">Definition</h3>
+<h3 id="definition-106">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-65">Derivation</h3>
+<h3 id="derivation-59">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-61">Source</h3>
+<h3 id="source-55">Source</h3>
<p>if basis</p>
-<h3 id="discussion-109">Discussion</h3>
+<h3 id="discussion-105">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-123">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>([...1] a1 -- [a1 ...1])</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-112">Definition</h3>
+<h3 id="definition-107">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-66">Derivation</h3>
+<h3 id="derivation-60">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-62">Source</h3>
+<h3 id="source-56">Source</h3>
<p>if basis</p>
-<h3 id="discussion-110">Discussion</h3>
+<h3 id="discussion-106">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-124">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[i] genrec</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-113">Definition</h3>
+<h3 id="definition-108">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-67">Derivation</h3>
+<h3 id="derivation-61">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-63">Source</h3>
+<h3 id="source-57">Source</h3>
<p>if basis</p>
-<h3 id="discussion-111">Discussion</h3>
+<h3 id="discussion-107">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-125">Crosslinks</h3>
<p>Lorem ipsum.</p>
----------------------
[b a]</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-114">Definition</h3>
+<h3 id="definition-109">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-68">Derivation</h3>
+<h3 id="derivation-62">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-64">Source</h3>
+<h3 id="source-58">Source</h3>
<p>if basis</p>
-<h3 id="discussion-112">Discussion</h3>
+<h3 id="discussion-108">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-126">Crosslinks</h3>
<p>Lorem ipsum.</p>
<pre><code> ... z y x [P] unary
-------------------------
... A</code></pre>
-<h3 id="definition-115">Definition</h3>
+<h3 id="definition-110">Definition</h3>
<pre><code>binary popd</code></pre>
-<h3 id="discussion-113">Discussion</h3>
+<h3 id="discussion-109">Discussion</h3>
<p>Runs any other quoted function and returns its first result while consuming exactly three items from the stack.</p>
<h3 id="crosslinks-127">Crosslinks</h3>
<p><a href="#binary">binary</a> <a href="#nullary">nullary</a> <a href="#unary">unary</a></p>
<p>Basis Function Combinator</p>
<pre><code>([a1 a2 a3 ...1] -- a3)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-116">Definition</h3>
+<h3 id="definition-111">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-69">Derivation</h3>
+<h3 id="derivation-63">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-65">Source</h3>
+<h3 id="source-59">Source</h3>
<p>if basis</p>
-<h3 id="discussion-114">Discussion</h3>
+<h3 id="discussion-110">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-128">Crosslinks</h3>
<p>Lorem ipsum.</p>
------------------------------------- w/ n > 1
... . Q (n - 1) [Q] times</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-117">Definition</h3>
+<h3 id="definition-112">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-70">Derivation</h3>
+<h3 id="derivation-64">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-66">Source</h3>
+<h3 id="source-60">Source</h3>
<p>if basis</p>
-<h3 id="discussion-115">Discussion</h3>
+<h3 id="discussion-111">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-129">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(a2 a1 -- a1 a2 a1)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-118">Definition</h3>
+<h3 id="definition-113">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-71">Derivation</h3>
+<h3 id="derivation-65">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-67">Source</h3>
+<h3 id="source-61">Source</h3>
<p>if basis</p>
-<h3 id="discussion-116">Discussion</h3>
+<h3 id="discussion-112">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-130">Crosslinks</h3>
<p>Lorem ipsum.</p>
<pre><code> ... x [P] unary
---------------------
... A</code></pre>
-<h3 id="definition-119">Definition</h3>
+<h3 id="definition-114">Definition</h3>
<pre><code>nullary popd</code></pre>
-<h3 id="discussion-117">Discussion</h3>
+<h3 id="discussion-113">Discussion</h3>
<p>Runs any other quoted function and returns its first result while consuming exactly one item from the stack.</p>
<h3 id="crosslinks-131">Crosslinks</h3>
<p><a href="#binary">binary</a> <a href="#nullary">nullary</a> <a href="#ternary">ternary</a></p>
<pre><code> [A ...] uncons
--------------------
A [...]</code></pre>
-<h3 id="source-68">Source</h3>
+<h3 id="source-62">Source</h3>
<pre><code>func(uncons, Si, So) :- func(cons, So, Si).</code></pre>
-<h3 id="discussion-118">Discussion</h3>
+<h3 id="discussion-114">Discussion</h3>
<p>This is the inverse of <code>cons</code>.</p>
<h3 id="crosslinks-132">Crosslinks</h3>
<p><a href="#cons">cons</a></p>
<p>Basis Function Combinator</p>
<p>Given a list remove duplicate items.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-120">Definition</h3>
+<h3 id="definition-115">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-72">Derivation</h3>
+<h3 id="derivation-66">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-69">Source</h3>
+<h3 id="source-63">Source</h3>
<p>if basis</p>
-<h3 id="discussion-119">Discussion</h3>
+<h3 id="discussion-115">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-133">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(a1 -- [a1 ])</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-121">Definition</h3>
+<h3 id="definition-116">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-73">Derivation</h3>
+<h3 id="derivation-67">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-70">Source</h3>
+<h3 id="source-64">Source</h3>
<p>if basis</p>
-<h3 id="discussion-120">Discussion</h3>
+<h3 id="discussion-116">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-134">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[i] dip</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-122">Definition</h3>
+<h3 id="definition-117">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-74">Derivation</h3>
+<h3 id="derivation-68">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-71">Source</h3>
+<h3 id="source-65">Source</h3>
<p>if basis</p>
-<h3 id="discussion-121">Discussion</h3>
+<h3 id="discussion-117">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-135">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>([a1 ...1] -- [...1] a1)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-123">Definition</h3>
+<h3 id="definition-118">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-75">Derivation</h3>
+<h3 id="derivation-69">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-72">Source</h3>
+<h3 id="source-66">Source</h3>
<p>if basis</p>
-<h3 id="discussion-122">Discussion</h3>
+<h3 id="discussion-118">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-136">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>True if the form on TOS is void otherwise False.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-124">Definition</h3>
+<h3 id="definition-119">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-76">Derivation</h3>
+<h3 id="derivation-70">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-73">Source</h3>
+<h3 id="source-67">Source</h3>
<p>if basis</p>
-<h3 id="discussion-123">Discussion</h3>
+<h3 id="discussion-119">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-137">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Print warranty information.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-125">Definition</h3>
+<h3 id="definition-120">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-77">Derivation</h3>
+<h3 id="derivation-71">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-74">Source</h3>
+<h3 id="source-68">Source</h3>
<p>if basis</p>
-<h3 id="discussion-124">Discussion</h3>
+<h3 id="discussion-120">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-138">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>swap nulco dupdipd concat loop</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-126">Definition</h3>
+<h3 id="definition-121">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-78">Derivation</h3>
+<h3 id="derivation-72">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-75">Source</h3>
+<h3 id="source-69">Source</h3>
<p>if basis</p>
-<h3 id="discussion-125">Discussion</h3>
+<h3 id="discussion-121">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-139">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Print all the words in alphabetical order.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-127">Definition</h3>
+<h3 id="definition-122">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-79">Derivation</h3>
+<h3 id="derivation-73">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-76">Source</h3>
+<h3 id="source-70">Source</h3>
<p>if basis</p>
-<h3 id="discussion-126">Discussion</h3>
+<h3 id="discussion-122">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-140">Crosslinks</h3>
<p>Lorem ipsum.</p>
<pre><code> [F] x
-----------
[F] F</code></pre>
-<h3 id="definition-128">Definition</h3>
+<h3 id="definition-123">Definition</h3>
<pre><code>dup i</code></pre>
-<h3 id="discussion-127">Discussion</h3>
+<h3 id="discussion-123">Discussion</h3>
<p>The <code>x</code> combinator …</p>
<hr />
<h2 id="xor">xor</h2>
<p>Basis Function Combinator</p>
<p>Same as a ^ b.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-129">Definition</h3>
+<h3 id="definition-124">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-80">Derivation</h3>
+<h3 id="derivation-74">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-77">Source</h3>
+<h3 id="source-71">Source</h3>
<p>if basis</p>
-<h3 id="discussion-128">Discussion</h3>
+<h3 id="discussion-124">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-141">Crosslinks</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Replace the two lists on the top of the stack with a list of the pairs from each list. The smallest list sets the length of the result list.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-130">Definition</h3>
+<h3 id="definition-125">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-81">Derivation</h3>
+<h3 id="derivation-75">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-78">Source</h3>
+<h3 id="source-72">Source</h3>
<p>if basis</p>
-<h3 id="discussion-129">Discussion</h3>
+<h3 id="discussion-125">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-142">Crosslinks</h3>
<p>Lorem ipsum.</p>