<p><a href="#dupdip">dupdip</a></p>
<hr />
<h2 id="enstacken">enstacken</h2>
-<p>Basis Function Combinator</p>
-<p>stack [clear] dip</p>
-<p>Gentzen diagram.</p>
+<p>Function</p>
+<p>Put the stack onto the stack replacing the contents of the stack.</p>
+<pre><code> ... a b c enstacken
+-------------------------
+ [c b a ...]</code></pre>
<h3 id="definition-32">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="#stack">stack</a> [<a href="#clear">clear</a>] <a href="#dip">dip</a></p>
+</blockquote>
<h3 id="discussion-29">Discussion</h3>
-<p>Lorem ipsum.</p>
+<p>This is a destructive version of <a href="#stack">stack</a>. See the note under <a href="#disenstacken">disenstacken</a> about the apparent but illusory reversal of the stack.</p>
<h3 id="crosslinks-37">Crosslinks</h3>
-<p>Lorem ipsum.</p>
+<p><a href="#stack">stack</a> [unstack] <a href="#disenstacken">disenstacken</a></p>
<hr />
<h2 id="eq">eq</h2>
-<p>Basis Function Combinator</p>
-<p>Same as a == b.</p>
-<p>Gentzen diagram.</p>
-<h3 id="definition-33">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>Basis Function</p>
+<p>Compare the two items on the top of the stack for equality and replace them with a Boolean value.</p>
+<pre><code> a b eq
+-------------
+ Boolean</code></pre>
<h3 id="discussion-30">Discussion</h3>
<p>Lorem ipsum.</p>
<h3 id="crosslinks-38">Crosslinks</h3>
-<p>Lorem ipsum.</p>
+<p><a href="#cmp">cmp</a> <a href="#ge">ge</a> <a href="#gt">gt</a> <a href="#le">le</a> <a href="#lt">lt</a> <a href="#ne">ne</a></p>
<hr />
<h2 id="first">first</h2>
<p>Basis Function Combinator</p>
<pre><code>([a1 ...1] -- a1)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-34">Definition</h3>
+<h3 id="definition-33">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-5">Derivation</h3>
+<h3 id="derivation-3">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-2">Source</h3>
+<h3 id="source">Source</h3>
<p>if basis</p>
<h3 id="discussion-31">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>([a1 a2 ...1] -- a1 a2)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-35">Definition</h3>
+<h3 id="definition-34">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-6">Derivation</h3>
+<h3 id="derivation-4">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-3">Source</h3>
+<h3 id="source-1">Source</h3>
<p>if basis</p>
<h3 id="discussion-32">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p><{} [concat] step</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-36">Definition</h3>
+<h3 id="definition-35">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-7">Derivation</h3>
+<h3 id="derivation-5">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-4">Source</h3>
+<h3 id="source-2">Source</h3>
<p>if basis</p>
<h3 id="discussion-33">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Return the floor of x as an Integral.</p>
<p>This is the largest integer <= x.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-37">Definition</h3>
+<h3 id="definition-36">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-8">Derivation</h3>
+<h3 id="derivation-6">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-5">Source</h3>
+<h3 id="source-3">Source</h3>
<p>if basis</p>
<h3 id="discussion-34">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Same as a // b.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-38">Definition</h3>
+<h3 id="definition-37">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-9">Derivation</h3>
+<h3 id="derivation-7">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-6">Source</h3>
+<h3 id="source-4">Source</h3>
<p>if basis</p>
<h3 id="discussion-35">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[i] app2</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-39">Definition</h3>
+<h3 id="definition-38">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-10">Derivation</h3>
+<h3 id="derivation-8">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-7">Source</h3>
+<h3 id="source-5">Source</h3>
<p>if basis</p>
<h3 id="discussion-36">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>([a1 a2 a3 a4 ...1] -- a4)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-40">Definition</h3>
+<h3 id="definition-39">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-11">Derivation</h3>
+<h3 id="derivation-9">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-8">Source</h3>
+<h3 id="source-6">Source</h3>
<p>if basis</p>
<h3 id="discussion-37">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>true [tuck mod dup 0 >] loop pop</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-41">Definition</h3>
+<h3 id="definition-40">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-12">Derivation</h3>
+<h3 id="derivation-10">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-9">Source</h3>
+<h3 id="source-7">Source</h3>
<p>if basis</p>
<h3 id="discussion-38">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Compiled GCD function.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-42">Definition</h3>
+<h3 id="definition-41">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-13">Derivation</h3>
+<h3 id="derivation-11">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-10">Source</h3>
+<h3 id="source-8">Source</h3>
<p>if basis</p>
<h3 id="discussion-39">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Same as a >= b.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-43">Definition</h3>
+<h3 id="definition-42">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-14">Derivation</h3>
+<h3 id="derivation-12">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-11">Source</h3>
+<h3 id="source-9">Source</h3>
<p>if basis</p>
<h3 id="discussion-40">Discussion</h3>
<p>Lorem ipsum.</p>
== [I] [T] [R [P] i] ifte
== [I] [T] [R P] ifte</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-44">Definition</h3>
+<h3 id="definition-43">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-15">Derivation</h3>
+<h3 id="derivation-13">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-12">Source</h3>
+<h3 id="source-10">Source</h3>
<p>if basis</p>
<h3 id="discussion-41">Discussion</h3>
<p>Lorem ipsum.</p>
-------------------------
a</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-45">Definition</h3>
+<h3 id="definition-44">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-16">Derivation</h3>
+<h3 id="derivation-14">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-13">Source</h3>
+<h3 id="source-11">Source</h3>
<p>if basis</p>
<h3 id="discussion-42">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p><{} [cons] times</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-46">Definition</h3>
+<h3 id="definition-45">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-17">Derivation</h3>
+<h3 id="derivation-15">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-14">Source</h3>
+<h3 id="source-12">Source</h3>
<p>if basis</p>
<h3 id="discussion-43">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[stack popd] dip</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-47">Definition</h3>
+<h3 id="definition-46">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-18">Derivation</h3>
+<h3 id="derivation-16">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-15">Source</h3>
+<h3 id="source-13">Source</h3>
<p>if basis</p>
<h3 id="discussion-44">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Same as a > b.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-48">Definition</h3>
+<h3 id="definition-47">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-19">Derivation</h3>
+<h3 id="derivation-17">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-16">Source</h3>
+<h3 id="source-14">Source</h3>
<p>if basis</p>
<h3 id="discussion-45">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Accepts a quoted symbol on the top of the stack and prints its docs.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-49">Definition</h3>
+<h3 id="definition-48">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-20">Derivation</h3>
+<h3 id="derivation-18">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-17">Source</h3>
+<h3 id="source-15">Source</h3>
<p>if basis</p>
<h3 id="discussion-46">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[sqr] ii + sqrt</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-50">Definition</h3>
+<h3 id="definition-49">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-21">Derivation</h3>
+<h3 id="derivation-19">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-18">Source</h3>
+<h3 id="source-16">Source</h3>
<p>if basis</p>
<h3 id="discussion-47">Discussion</h3>
<p>Lorem ipsum.</p>
<pre><code> [Q] i
-----------
Q</code></pre>
-<h3 id="source-19">Source</h3>
+<h3 id="source-17">Source</h3>
<pre><code>combo(i, [list(P)|S], S, Ei, Eo) :- append(P, Ei, Eo).</code></pre>
<h3 id="discussion-48">Discussion</h3>
<p>This is probably the fundamental combinator. You wind up using it in all kinds of places (for example, the <code>x</code> combinator can be defined as <code>dup i</code>.)</p>
<p>Basis Function Combinator</p>
<p>The identity function.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-51">Definition</h3>
+<h3 id="definition-50">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-22">Derivation</h3>
+<h3 id="derivation-20">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-20">Source</h3>
+<h3 id="source-18">Source</h3>
<p>if basis</p>
<h3 id="discussion-49">Discussion</h3>
<p>Lorem ipsum.</p>
... [else] [then] [...] [if] infra first choice i</code></pre>
<p>Has the effect of grabbing a copy of the stack on which to run the if-part using infra.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-52">Definition</h3>
+<h3 id="definition-51">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-23">Derivation</h3>
+<h3 id="derivation-21">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-21">Source</h3>
+<h3 id="source-19">Source</h3>
<p>if basis</p>
<h3 id="discussion-50">Discussion</h3>
<p>Lorem ipsum.</p>
------------------
... Q a Q</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-53">Definition</h3>
+<h3 id="definition-52">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-24">Derivation</h3>
+<h3 id="derivation-22">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-22">Source</h3>
+<h3 id="source-20">Source</h3>
<p>if basis</p>
<h3 id="discussion-51">Discussion</h3>
<p>Lorem ipsum.</p>
<pre><code> ... [a b c] [Q] infra
---------------------------
c b a Q [...] swaack</code></pre>
-<h3 id="definition-54">Definition</h3>
+<h3 id="definition-53">Definition</h3>
<pre><code>swons swaack [i] dip swaack</code></pre>
<h3 id="discussion-52">Discussion</h3>
<p>This is one of the more useful combinators. It allows a quoted expression to serve as a stack for a program, effectively running it in a kind of “pocket universe”. If the list represents a datastructure then <code>infra</code> lets you work on its internal structure.</p>
<p>Basis Function Combinator</p>
<p>infra first</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-55">Definition</h3>
+<h3 id="definition-54">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-25">Derivation</h3>
+<h3 id="derivation-23">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-23">Source</h3>
+<h3 id="source-21">Source</h3>
<p>if basis</p>
<h3 id="discussion-53">Discussion</h3>
<p>Lorem ipsum.</p>
<p>[sqr dup mul] inscribe</p>
</blockquote>
<p>Gentzen diagram.</p>
-<h3 id="definition-56">Definition</h3>
+<h3 id="definition-55">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-26">Derivation</h3>
+<h3 id="derivation-24">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-24">Source</h3>
+<h3 id="source-22">Source</h3>
<p>if basis</p>
<h3 id="discussion-54">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Same as a <= b.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-57">Definition</h3>
+<h3 id="definition-56">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-27">Derivation</h3>
+<h3 id="derivation-25">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-25">Source</h3>
+<h3 id="source-23">Source</h3>
<p>if basis</p>
<h3 id="discussion-55">Discussion</h3>
<p>Lorem ipsum.</p>
------------------------
...</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-58">Definition</h3>
+<h3 id="definition-57">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-28">Derivation</h3>
+<h3 id="derivation-26">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-26">Source</h3>
+<h3 id="source-24">Source</h3>
<p>if basis</p>
<h3 id="discussion-56">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Same as a << b.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-59">Definition</h3>
+<h3 id="definition-58">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-29">Derivation</h3>
+<h3 id="derivation-27">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-27">Source</h3>
+<h3 id="source-25">Source</h3>
<p>if basis</p>
<h3 id="discussion-57">Discussion</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-59">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-30">Derivation</h3>
+<h3 id="derivation-28">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-28">Source</h3>
+<h3 id="source-26">Source</h3>
<p>if basis</p>
<h3 id="discussion-58">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[codireco] ccons</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-61">Definition</h3>
+<h3 id="definition-60">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-31">Derivation</h3>
+<h3 id="derivation-29">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-29">Source</h3>
+<h3 id="source-27">Source</h3>
<p>if basis</p>
<h3 id="discussion-59">Discussion</h3>
<p>Lorem ipsum.</p>
<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-62">Definition</h3>
+<h3 id="definition-61">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-32">Derivation</h3>
+<h3 id="derivation-30">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-30">Source</h3>
+<h3 id="source-28">Source</h3>
<p>if basis</p>
<h3 id="discussion-60">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Given a list find the maximum.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-63">Definition</h3>
+<h3 id="definition-62">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-33">Derivation</h3>
+<h3 id="derivation-31">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-31">Source</h3>
+<h3 id="source-29">Source</h3>
<p>if basis</p>
<h3 id="discussion-61">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Given a list find the minimum.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-64">Definition</h3>
+<h3 id="definition-63">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-34">Derivation</h3>
+<h3 id="derivation-32">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-32">Source</h3>
+<h3 id="source-30">Source</h3>
<p>if basis</p>
<h3 id="discussion-62">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Same as a % b.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-65">Definition</h3>
+<h3 id="definition-64">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-35">Derivation</h3>
+<h3 id="derivation-33">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-33">Source</h3>
+<h3 id="source-31">Source</h3>
<p>if basis</p>
<h3 id="discussion-63">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Same as a * b.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-66">Definition</h3>
+<h3 id="definition-65">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-36">Derivation</h3>
+<h3 id="derivation-34">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-34">Source</h3>
+<h3 id="source-32">Source</h3>
<p>if basis</p>
<h3 id="discussion-64">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Same as a != b.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-67">Definition</h3>
+<h3 id="definition-66">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-37">Derivation</h3>
+<h3 id="derivation-35">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-35">Source</h3>
+<h3 id="source-33">Source</h3>
<p>if basis</p>
<h3 id="discussion-65">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Same as -a.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-68">Definition</h3>
+<h3 id="definition-67">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-38">Derivation</h3>
+<h3 id="derivation-36">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-36">Source</h3>
+<h3 id="source-34">Source</h3>
<p>if basis</p>
<h3 id="discussion-66">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Same as not a.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-69">Definition</h3>
+<h3 id="definition-68">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-39">Derivation</h3>
+<h3 id="derivation-37">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-37">Source</h3>
+<h3 id="source-35">Source</h3>
<p>if basis</p>
<h3 id="discussion-67">Discussion</h3>
<p>Lorem ipsum.</p>
N !-
---------- N >= 0
true</code></pre>
-<h3 id="definition-70">Definition</h3>
+<h3 id="definition-69">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-71">Definition</h3>
+<h3 id="definition-70">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-40">Derivation</h3>
+<h3 id="derivation-38">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-38">Source</h3>
+<h3 id="source-36">Source</h3>
<p>if basis</p>
<h3 id="discussion-68">Discussion</h3>
<p>Lorem ipsum.</p>
<pre><code> ... [P] nullary
---------------------
... A</code></pre>
-<h3 id="definition-72">Definition</h3>
+<h3 id="definition-71">Definition</h3>
<pre><code>[stack] dip infra first</code></pre>
-<h3 id="derivation-41">Derivation</h3>
+<h3 id="derivation-39">Derivation</h3>
<pre><code>... [P] nullary
... [P] [stack] dip infra first
... stack [P] infra first
<p>Basis Function Combinator</p>
<p>swap at</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-73">Definition</h3>
+<h3 id="definition-72">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-42">Derivation</h3>
+<h3 id="derivation-40">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-39">Source</h3>
+<h3 id="source-37">Source</h3>
<p>if basis</p>
<h3 id="discussion-70">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Same as a | b.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-74">Definition</h3>
+<h3 id="definition-73">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-43">Derivation</h3>
+<h3 id="derivation-41">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-40">Source</h3>
+<h3 id="source-38">Source</h3>
<p>if basis</p>
<h3 id="discussion-71">Discussion</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-75">Definition</h3>
+<h3 id="definition-74">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-44">Derivation</h3>
+<h3 id="derivation-42">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-41">Source</h3>
+<h3 id="source-39">Source</h3>
<p>if basis</p>
<h3 id="discussion-72">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[i] map</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-76">Definition</h3>
+<h3 id="definition-75">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-45">Derivation</h3>
+<h3 id="derivation-43">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-42">Source</h3>
+<h3 id="source-40">Source</h3>
<p>if basis</p>
<h3 id="discussion-73">Discussion</h3>
<p>Lorem ipsum.</p>
-------------
a+b a-b</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-77">Definition</h3>
+<h3 id="definition-76">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-46">Derivation</h3>
+<h3 id="derivation-44">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-43">Source</h3>
+<h3 id="source-41">Source</h3>
<p>if basis</p>
<h3 id="discussion-74">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(a1 --)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-78">Definition</h3>
+<h3 id="definition-77">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-47">Derivation</h3>
+<h3 id="derivation-45">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-44">Source</h3>
+<h3 id="source-42">Source</h3>
<p>if basis</p>
<h3 id="discussion-75">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(a2 a1 -- a1)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-79">Definition</h3>
+<h3 id="definition-78">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-48">Derivation</h3>
+<h3 id="derivation-46">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-45">Source</h3>
+<h3 id="source-43">Source</h3>
<p>if basis</p>
<h3 id="discussion-76">Discussion</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-80">Definition</h3>
+<h3 id="definition-79">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-49">Derivation</h3>
+<h3 id="derivation-47">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-46">Source</h3>
+<h3 id="source-44">Source</h3>
<p>if basis</p>
<h3 id="discussion-77">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(a2 a1 --)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-81">Definition</h3>
+<h3 id="definition-80">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-50">Derivation</h3>
+<h3 id="derivation-48">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-47">Source</h3>
+<h3 id="source-45">Source</h3>
<p>if basis</p>
<h3 id="discussion-78">Discussion</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-82">Definition</h3>
+<h3 id="definition-81">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-51">Derivation</h3>
+<h3 id="derivation-49">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-48">Source</h3>
+<h3 id="source-46">Source</h3>
<p>if basis</p>
<h3 id="discussion-79">Discussion</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-83">Definition</h3>
+<h3 id="definition-82">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-52">Derivation</h3>
+<h3 id="derivation-50">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-49">Source</h3>
+<h3 id="source-47">Source</h3>
<p>if basis</p>
<h3 id="discussion-80">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>pop popop</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-84">Definition</h3>
+<h3 id="definition-83">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-53">Derivation</h3>
+<h3 id="derivation-51">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-50">Source</h3>
+<h3 id="source-48">Source</h3>
<p>if basis</p>
<h3 id="discussion-81">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Same as a ** b.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-85">Definition</h3>
+<h3 id="definition-84">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-54">Derivation</h3>
+<h3 id="derivation-52">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-51">Source</h3>
+<h3 id="source-49">Source</h3>
<p>if basis</p>
<h3 id="discussion-82">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Decrement TOS.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-86">Definition</h3>
+<h3 id="definition-85">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-55">Derivation</h3>
+<h3 id="derivation-53">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-52">Source</h3>
+<h3 id="source-50">Source</h3>
<p>if basis</p>
<h3 id="discussion-83">Discussion</h3>
<p>Lorem ipsum.</p>
------------------------------------------ n > 0
n (n-1) [Base] [Recur] primrec Recur</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-87">Definition</h3>
+<h3 id="definition-86">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-56">Derivation</h3>
+<h3 id="derivation-54">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-53">Source</h3>
+<h3 id="source-51">Source</h3>
<p>if basis</p>
<h3 id="discussion-84">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>1 swap [*] step</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-88">Definition</h3>
+<h3 id="definition-87">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-57">Derivation</h3>
+<h3 id="derivation-55">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-54">Source</h3>
+<h3 id="source-52">Source</h3>
<p>if basis</p>
<h3 id="discussion-85">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[unit] dip</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-89">Definition</h3>
+<h3 id="definition-88">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-58">Derivation</h3>
+<h3 id="derivation-56">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-55">Source</h3>
+<h3 id="source-53">Source</h3>
<p>if basis</p>
<h3 id="discussion-86">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[0 <=] [1 - dup] anamorphism</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-90">Definition</h3>
+<h3 id="definition-89">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-59">Derivation</h3>
+<h3 id="derivation-57">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-56">Source</h3>
+<h3 id="source-54">Source</h3>
<p>if basis</p>
<h3 id="discussion-87">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>unit [down_to_zero] infra</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-91">Definition</h3>
+<h3 id="definition-90">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-60">Derivation</h3>
+<h3 id="derivation-58">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-57">Source</h3>
+<h3 id="source-55">Source</h3>
<p>if basis</p>
<h3 id="discussion-88">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>rest cons</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-92">Definition</h3>
+<h3 id="definition-91">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-61">Derivation</h3>
+<h3 id="derivation-59">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-58">Source</h3>
+<h3 id="source-56">Source</h3>
<p>if basis</p>
<h3 id="discussion-89">Discussion</h3>
<p>Lorem ipsum.</p>
------------------------
[2 3 1]</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-93">Definition</h3>
+<h3 id="definition-92">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-62">Derivation</h3>
+<h3 id="derivation-60">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-59">Source</h3>
+<h3 id="source-57">Source</h3>
<p>if basis</p>
<h3 id="discussion-90">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>([a1 ...0] -- [...0])</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-94">Definition</h3>
+<h3 id="definition-93">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-63">Derivation</h3>
+<h3 id="derivation-61">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-60">Source</h3>
+<h3 id="source-58">Source</h3>
<p>if basis</p>
<h3 id="discussion-91">Discussion</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-95">Definition</h3>
+<h3 id="definition-94">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-64">Derivation</h3>
+<h3 id="derivation-62">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-61">Source</h3>
+<h3 id="source-59">Source</h3>
<p>if basis</p>
<h3 id="discussion-92">Discussion</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-96">Definition</h3>
+<h3 id="definition-95">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-65">Derivation</h3>
+<h3 id="derivation-63">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-62">Source</h3>
+<h3 id="source-60">Source</h3>
<p>if basis</p>
<h3 id="discussion-93">Discussion</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-97">Definition</h3>
+<h3 id="definition-96">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-66">Derivation</h3>
+<h3 id="derivation-64">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-63">Source</h3>
+<h3 id="source-61">Source</h3>
<p>if basis</p>
<h3 id="discussion-94">Discussion</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-98">Definition</h3>
+<h3 id="definition-97">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-67">Derivation</h3>
+<h3 id="derivation-65">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-64">Source</h3>
+<h3 id="source-62">Source</h3>
<p>if basis</p>
<h3 id="discussion-95">Discussion</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-99">Definition</h3>
+<h3 id="definition-98">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-68">Derivation</h3>
+<h3 id="derivation-66">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-65">Source</h3>
+<h3 id="source-63">Source</h3>
<p>if basis</p>
<h3 id="discussion-96">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Same as a >> b.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-100">Definition</h3>
+<h3 id="definition-99">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-69">Derivation</h3>
+<h3 id="derivation-67">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-66">Source</h3>
+<h3 id="source-64">Source</h3>
<p>if basis</p>
<h3 id="discussion-97">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p><{} infra</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-101">Definition</h3>
+<h3 id="definition-100">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-70">Derivation</h3>
+<h3 id="derivation-68">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-67">Source</h3>
+<h3 id="source-65">Source</h3>
<p>if basis</p>
<h3 id="discussion-98">Discussion</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-102">Definition</h3>
+<h3 id="definition-101">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-71">Derivation</h3>
+<h3 id="derivation-69">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-68">Source</h3>
+<h3 id="source-66">Source</h3>
<p>if basis</p>
<h3 id="discussion-99">Discussion</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-103">Definition</h3>
+<h3 id="definition-102">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-72">Derivation</h3>
+<h3 id="derivation-70">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-69">Source</h3>
+<h3 id="source-67">Source</h3>
<p>if basis</p>
<h3 id="discussion-100">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Print redistribution information.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-104">Definition</h3>
+<h3 id="definition-103">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-73">Derivation</h3>
+<h3 id="derivation-71">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-70">Source</h3>
+<h3 id="source-68">Source</h3>
<p>if basis</p>
<h3 id="discussion-101">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>uncons [swons] dip</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-105">Definition</h3>
+<h3 id="definition-104">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-74">Derivation</h3>
+<h3 id="derivation-72">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-71">Source</h3>
+<h3 id="source-69">Source</h3>
<p>if basis</p>
<h3 id="discussion-102">Discussion</h3>
<p>Lorem ipsum.</p>
---------------------------
[f e d a b c] </code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-106">Definition</h3>
+<h3 id="definition-105">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-75">Derivation</h3>
+<h3 id="derivation-73">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-72">Source</h3>
+<h3 id="source-70">Source</h3>
<p>if basis</p>
<h3 id="discussion-103">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[pop ++] step_zero</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-107">Definition</h3>
+<h3 id="definition-106">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-76">Derivation</h3>
+<h3 id="derivation-74">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-73">Source</h3>
+<h3 id="source-71">Source</h3>
<p>if basis</p>
<h3 id="discussion-104">Discussion</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-108">Definition</h3>
+<h3 id="definition-107">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-77">Derivation</h3>
+<h3 id="derivation-75">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-74">Source</h3>
+<h3 id="source-72">Source</h3>
<p>if basis</p>
<h3 id="discussion-105">Discussion</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-109">Definition</h3>
+<h3 id="definition-108">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-78">Derivation</h3>
+<h3 id="derivation-76">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-75">Source</h3>
+<h3 id="source-73">Source</h3>
<p>if basis</p>
<h3 id="discussion-106">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[drop] [take] clop</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-110">Definition</h3>
+<h3 id="definition-109">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-79">Derivation</h3>
+<h3 id="derivation-77">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-76">Source</h3>
+<h3 id="source-74">Source</h3>
<p>if basis</p>
<h3 id="discussion-107">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[take reverse] [drop] clop</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-111">Definition</h3>
+<h3 id="definition-110">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-80">Derivation</h3>
+<h3 id="derivation-78">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-77">Source</h3>
+<h3 id="source-75">Source</h3>
<p>if basis</p>
<h3 id="discussion-108">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>dup *</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-112">Definition</h3>
+<h3 id="definition-111">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-81">Derivation</h3>
+<h3 id="derivation-79">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-78">Source</h3>
+<h3 id="source-76">Source</h3>
<p>if basis</p>
<h3 id="discussion-109">Discussion</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-113">Definition</h3>
+<h3 id="definition-112">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-82">Derivation</h3>
+<h3 id="derivation-80">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-79">Source</h3>
+<h3 id="source-77">Source</h3>
<p>if basis</p>
<h3 id="discussion-110">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(... -- ... [...])</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-114">Definition</h3>
+<h3 id="definition-113">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-83">Derivation</h3>
+<h3 id="derivation-81">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-80">Source</h3>
+<h3 id="source-78">Source</h3>
<p>if basis</p>
<h3 id="discussion-111">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[stack] dip</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-115">Definition</h3>
+<h3 id="definition-114">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-84">Derivation</h3>
+<h3 id="derivation-82">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-81">Source</h3>
+<h3 id="source-79">Source</h3>
<p>if basis</p>
<h3 id="discussion-112">Discussion</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-116">Definition</h3>
+<h3 id="definition-115">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-85">Derivation</h3>
+<h3 id="derivation-83">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-82">Source</h3>
+<h3 id="source-80">Source</h3>
<p>if basis</p>
<h3 id="discussion-113">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>0 roll> step</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-117">Definition</h3>
+<h3 id="definition-116">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-86">Derivation</h3>
+<h3 id="derivation-84">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-83">Source</h3>
+<h3 id="source-81">Source</h3>
<p>if basis</p>
<h3 id="discussion-114">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(... a1 -- ... a1 a1 [...])</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-118">Definition</h3>
+<h3 id="definition-117">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-87">Derivation</h3>
+<h3 id="derivation-85">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-84">Source</h3>
+<h3 id="source-82">Source</h3>
<p>if basis</p>
<h3 id="discussion-115">Discussion</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-119">Definition</h3>
+<h3 id="definition-118">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-88">Derivation</h3>
+<h3 id="derivation-86">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-85">Source</h3>
+<h3 id="source-83">Source</h3>
<p>if basis</p>
<h3 id="discussion-116">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Same as a - b.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-120">Definition</h3>
+<h3 id="definition-119">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-89">Derivation</h3>
+<h3 id="derivation-87">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-86">Source</h3>
+<h3 id="source-84">Source</h3>
<p>if basis</p>
<h3 id="discussion-117">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Increment TOS.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-121">Definition</h3>
+<h3 id="definition-120">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-90">Derivation</h3>
+<h3 id="derivation-88">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-87">Source</h3>
+<h3 id="source-85">Source</h3>
<p>if basis</p>
<h3 id="discussion-118">Discussion</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-122">Definition</h3>
+<h3 id="definition-121">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-91">Derivation</h3>
+<h3 id="derivation-89">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-88">Source</h3>
+<h3 id="source-86">Source</h3>
<p>if basis</p>
<h3 id="discussion-119">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>([...1] -- [...0])</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-123">Definition</h3>
+<h3 id="definition-122">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-92">Derivation</h3>
+<h3 id="derivation-90">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-89">Source</h3>
+<h3 id="source-87">Source</h3>
<p>if basis</p>
<h3 id="discussion-120">Discussion</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-124">Definition</h3>
+<h3 id="definition-123">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-93">Derivation</h3>
+<h3 id="derivation-91">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-90">Source</h3>
+<h3 id="source-88">Source</h3>
<p>if basis</p>
<h3 id="discussion-121">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[swap] dip</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-125">Definition</h3>
+<h3 id="definition-124">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-94">Derivation</h3>
+<h3 id="derivation-92">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-91">Source</h3>
+<h3 id="source-89">Source</h3>
<p>if basis</p>
<h3 id="discussion-122">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>swap concat</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-126">Definition</h3>
+<h3 id="definition-125">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-95">Derivation</h3>
+<h3 id="derivation-93">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-92">Source</h3>
+<h3 id="source-90">Source</h3>
<p>if basis</p>
<h3 id="discussion-123">Discussion</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-127">Definition</h3>
+<h3 id="definition-126">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-96">Derivation</h3>
+<h3 id="derivation-94">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-93">Source</h3>
+<h3 id="source-91">Source</h3>
<p>if basis</p>
<h3 id="discussion-124">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[i] genrec</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-128">Definition</h3>
+<h3 id="definition-127">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-97">Derivation</h3>
+<h3 id="derivation-95">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-94">Source</h3>
+<h3 id="source-92">Source</h3>
<p>if basis</p>
<h3 id="discussion-125">Discussion</h3>
<p>Lorem ipsum.</p>
----------------------
[b a]</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-129">Definition</h3>
+<h3 id="definition-128">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-98">Derivation</h3>
+<h3 id="derivation-96">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-95">Source</h3>
+<h3 id="source-93">Source</h3>
<p>if basis</p>
<h3 id="discussion-126">Discussion</h3>
<p>Lorem ipsum.</p>
<pre><code> ... z y x [P] unary
-------------------------
... A</code></pre>
-<h3 id="definition-130">Definition</h3>
+<h3 id="definition-129">Definition</h3>
<pre><code>binary popd</code></pre>
<h3 id="discussion-127">Discussion</h3>
<p>Runs any other quoted function and returns its first result while consuming exactly three items from the stack.</p>
<p>Basis Function Combinator</p>
<pre><code>([a1 a2 a3 ...1] -- a3)</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-131">Definition</h3>
+<h3 id="definition-130">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-99">Derivation</h3>
+<h3 id="derivation-97">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-96">Source</h3>
+<h3 id="source-94">Source</h3>
<p>if basis</p>
<h3 id="discussion-128">Discussion</h3>
<p>Lorem ipsum.</p>
------------------------------------- w/ n > 1
... . Q (n - 1) [Q] times</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-132">Definition</h3>
+<h3 id="definition-131">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-100">Derivation</h3>
+<h3 id="derivation-98">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-97">Source</h3>
+<h3 id="source-95">Source</h3>
<p>if basis</p>
<h3 id="discussion-129">Discussion</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-133">Definition</h3>
+<h3 id="definition-132">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-101">Derivation</h3>
+<h3 id="derivation-99">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-98">Source</h3>
+<h3 id="source-96">Source</h3>
<p>if basis</p>
<h3 id="discussion-130">Discussion</h3>
<p>Lorem ipsum.</p>
<pre><code> ... x [P] unary
---------------------
... A</code></pre>
-<h3 id="definition-134">Definition</h3>
+<h3 id="definition-133">Definition</h3>
<pre><code>nullary popd</code></pre>
<h3 id="discussion-131">Discussion</h3>
<p>Runs any other quoted function and returns its first result while consuming exactly one item from the stack.</p>
<pre><code> [A ...] uncons
--------------------
A [...]</code></pre>
-<h3 id="source-99">Source</h3>
+<h3 id="source-97">Source</h3>
<pre><code>func(uncons, Si, So) :- func(cons, So, Si).</code></pre>
<h3 id="discussion-132">Discussion</h3>
<p>This is the inverse of <code>cons</code>.</p>
<p>Basis Function Combinator</p>
<p>Given a list remove duplicate items.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-135">Definition</h3>
+<h3 id="definition-134">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-102">Derivation</h3>
+<h3 id="derivation-100">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-100">Source</h3>
+<h3 id="source-98">Source</h3>
<p>if basis</p>
<h3 id="discussion-133">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<pre><code>(a1 -- [a1 ])</code></pre>
<p>Gentzen diagram.</p>
-<h3 id="definition-136">Definition</h3>
+<h3 id="definition-135">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-103">Derivation</h3>
+<h3 id="derivation-101">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-101">Source</h3>
+<h3 id="source-99">Source</h3>
<p>if basis</p>
<h3 id="discussion-134">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>[i] dip</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-137">Definition</h3>
+<h3 id="definition-136">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-104">Derivation</h3>
+<h3 id="derivation-102">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-102">Source</h3>
+<h3 id="source-100">Source</h3>
<p>if basis</p>
<h3 id="discussion-135">Discussion</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-138">Definition</h3>
+<h3 id="definition-137">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-105">Derivation</h3>
+<h3 id="derivation-103">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-103">Source</h3>
+<h3 id="source-101">Source</h3>
<p>if basis</p>
<h3 id="discussion-136">Discussion</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-139">Definition</h3>
+<h3 id="definition-138">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-106">Derivation</h3>
+<h3 id="derivation-104">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-104">Source</h3>
+<h3 id="source-102">Source</h3>
<p>if basis</p>
<h3 id="discussion-137">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>Print warranty information.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-140">Definition</h3>
+<h3 id="definition-139">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-107">Derivation</h3>
+<h3 id="derivation-105">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-105">Source</h3>
+<h3 id="source-103">Source</h3>
<p>if basis</p>
<h3 id="discussion-138">Discussion</h3>
<p>Lorem ipsum.</p>
<p>Basis Function Combinator</p>
<p>swap nulco dupdipd concat loop</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-141">Definition</h3>
+<h3 id="definition-140">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-108">Derivation</h3>
+<h3 id="derivation-106">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-106">Source</h3>
+<h3 id="source-104">Source</h3>
<p>if basis</p>
<h3 id="discussion-139">Discussion</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-142">Definition</h3>
+<h3 id="definition-141">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-109">Derivation</h3>
+<h3 id="derivation-107">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-107">Source</h3>
+<h3 id="source-105">Source</h3>
<p>if basis</p>
<h3 id="discussion-140">Discussion</h3>
<p>Lorem ipsum.</p>
<pre><code> [F] x
-----------
[F] F</code></pre>
-<h3 id="definition-143">Definition</h3>
+<h3 id="definition-142">Definition</h3>
<pre><code>dup i</code></pre>
<h3 id="discussion-141">Discussion</h3>
<p>The <code>x</code> combinator …</p>
<p>Basis Function Combinator</p>
<p>Same as a ^ b.</p>
<p>Gentzen diagram.</p>
-<h3 id="definition-144">Definition</h3>
+<h3 id="definition-143">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-110">Derivation</h3>
+<h3 id="derivation-108">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-108">Source</h3>
+<h3 id="source-106">Source</h3>
<p>if basis</p>
<h3 id="discussion-142">Discussion</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-145">Definition</h3>
+<h3 id="definition-144">Definition</h3>
<p>if not basis.</p>
-<h3 id="derivation-111">Derivation</h3>
+<h3 id="derivation-109">Derivation</h3>
<p>if not basis.</p>
-<h3 id="source-109">Source</h3>
+<h3 id="source-107">Source</h3>
<p>if basis</p>
<h3 id="discussion-143">Discussion</h3>
<p>Lorem ipsum.</p>