aboutsummaryrefslogtreecommitdiff
path: root/docs/help/self_swap.html
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-01-19 15:10:38 -0500
committerGitHub <noreply@github.com>2022-01-19 15:10:38 -0500
commitce364aeae795ca8a8e46e653b8024ac5a9ad0982 (patch)
tree7af238dbdb370a768f965066dadadd144cbd70f7 /docs/help/self_swap.html
parent8f0aa14fa695ff3aa3b3ed96c02fdb2ab99f272c (diff)
parentedddb9be0aa1f03c8608d3dabf7ccfea3fdde206 (diff)
Merge pull request #55 from razetime/master
Simple help pages for Primitive Symbols
Diffstat (limited to 'docs/help/self_swap.html')
-rw-r--r--docs/help/self_swap.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs/help/self_swap.html b/docs/help/self_swap.html
new file mode 100644
index 00000000..2115ac69
--- /dev/null
+++ b/docs/help/self_swap.html
@@ -0,0 +1,23 @@
+<head>
+ <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/>
+ <link href="../style.css" rel="stylesheet"/>
+ <title>BQN: Small Tilde (`˜`)</title>
+</head>
+<div class="nav">(<a href="https://github.com/mlochbaum/BQN">github</a>) / <a href="../index.html">BQN</a> / <a href="index.html">help</a></div>
+<h1 id="small-tilde-"><a class="header" href="#small-tilde-">Small Tilde (<code><span class='Modifier'>˜</span></code>)</a></h1>
+<h2 id="--self"><a class="header" href="#--self"><code><span class='Function'>𝔽</span><span class='Modifier'>˜</span> <span class='Value'>𝕩</span></code>: Self</a></h2>
+<p>Supplies <code><span class='Value'>𝕩</span></code> as a left argument to <code><span class='Function'>𝔽</span></code> (<code><span class='Value'>𝕩</span> <span class='Function'>𝔽</span> <span class='Value'>𝕩</span></code>).</p>
+<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgMSArIDEKCiAgICvLnCAx">↗️</a><pre> <span class='Number'>1</span> <span class='Function'>+</span> <span class='Number'>1</span>
+2
+
+ <span class='Function'>+</span><span class='Modifier'>˜</span> <span class='Number'>1</span>
+2
+</pre>
+<h2 id="---swap"><a class="header" href="#---swap"><code><span class='Value'>𝕨</span> <span class='Function'>𝔽</span><span class='Modifier'>˜</span> <span class='Value'>𝕩</span></code>: Swap</a></h2>
+<p>Swaps the arguments of <code><span class='Function'>𝔽</span></code> (<code><span class='Value'>𝕩</span> <span class='Function'>𝔽</span> <span class='Value'>𝕨</span></code>).</p>
+<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAgMSAtIDIKCiAgIDEgLcucIDI=">↗️</a><pre> <span class='Number'>1</span> <span class='Function'>-</span> <span class='Number'>2</span>
+¯1
+
+ <span class='Number'>1</span> <span class='Function'>-</span><span class='Modifier'>˜</span> <span class='Number'>2</span>
+1
+</pre>