diff options
Diffstat (limited to 'docs/help/negate_subtract.html')
| -rw-r--r-- | docs/help/negate_subtract.html | 31 |
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> |
