aboutsummaryrefslogtreecommitdiff
path: root/docs/help/negate_subtract.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/negate_subtract.html
parent8f0aa14fa695ff3aa3b3ed96c02fdb2ab99f272c (diff)
parentedddb9be0aa1f03c8608d3dabf7ccfea3fdde206 (diff)
Merge pull request #55 from razetime/master
Simple help pages for Primitive Symbols
Diffstat (limited to 'docs/help/negate_subtract.html')
-rw-r--r--docs/help/negate_subtract.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/docs/help/negate_subtract.html b/docs/help/negate_subtract.html
new file mode 100644
index 00000000..f226e61c
--- /dev/null
+++ b/docs/help/negate_subtract.html
@@ -0,0 +1,31 @@
+<head>
+ <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/>
+ <link href="../style.css" rel="stylesheet"/>
+ <title>BQN: Minus (`-`)</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="minus--"><a class="header" href="#minus--">Minus (<code><span class='Function'>-</span></code>)</a></h1>
+<h2 id="---negate"><a class="header" href="#---negate"><code><span class='Function'>-</span> <span class='Value'>𝕩</span></code>: Negate</a></h2>
+<p>Additive Inverse of <code><span class='Value'>𝕩</span></code>.</p>
+<p><a href="https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion">Pervasive.</a></p>
+<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAtIDEKCiAgLSDCrzE=">↗️</a><pre> <span class='Function'>-</span> <span class='Number'>1</span>
+¯1
+
+ <span class='Function'>-</span> <span class='Number'>¯1</span>
+1
+</pre>
+<h2 id="----subtract"><a class="header" href="#----subtract"><code><span class='Value'>𝕨</span> <span class='Function'>-</span> <span class='Value'>𝕩</span></code>: Subtract</a></h2>
+<p>Subtract <code><span class='Value'>𝕩</span></code> from <code><span class='Value'>𝕨</span></code>. <code><span class='Value'>𝕨</span></code> and <code><span class='Value'>𝕩</span></code> can be characters or integers.</p>
+<p><a href="https://mlochbaum.github.io/BQN/doc/arithmetic.html#pervasion">Pervasive.</a></p>
+<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICAxIC0gMgoKICAxIC0gMuKAvzPigL80CgogICdhJyAtIDQKCiAgJ2InIC0gJ2En">↗️</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='Number'>2</span><span class='Ligature'>‿</span><span class='Number'>3</span><span class='Ligature'>‿</span><span class='Number'>4</span>
+⟨ ¯1 ¯2 ¯3 ⟩
+
+ <span class='String'>'a'</span> <span class='Function'>-</span> <span class='Number'>4</span>
+']'
+
+ <span class='String'>'b'</span> <span class='Function'>-</span> <span class='String'>'a'</span>
+1
+</pre>