aboutsummaryrefslogtreecommitdiff
path: root/docs/help/conjugate_add.html
blob: 9f42ea1e8abbf075105f9a538921a2b390dab9ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<head>
  <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/>
  <link href="../style.css" rel="stylesheet"/>
  <title>BQN: Plus (`+`)</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="plus-"><a class="header" href="#plus-">Plus (<code><span class='Function'>+</span></code>)</a></h1>
<h2 id="--conjugate"><a class="header" href="#--conjugate"><code><span class='Function'>+</span> <span class='Value'>𝕩</span></code>: Conjugate</a></h2>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICArIDEKCiAgKyDCrzE=">↗️</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="---add"><a class="header" href="#---add"><code><span class='Value'>𝕨</span> <span class='Function'>+</span> <span class='Value'>𝕩</span></code>: Add</a></h2>
<h2 id="-added-to--either--or--can-be-a-character-and-if-so-the-other-has-to-be-an-integer"><a class="header" href="#-added-to--either--or--can-be-a-character-and-if-so-the-other-has-to-be-an-integer"><code><span class='Value'>𝕨</span></code> added to <code><span class='Value'>𝕩</span></code>. Either <code><span class='Value'>𝕨</span></code> or <code><span class='Value'>𝕩</span></code> can be a character, and if so, the other has to be an integer.</a></h2>
<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=ICAxICsgMgoKICAxICsgMuKAvzPigL80CgogICdhJyArIDQ=">↗️</a><pre>      <span class='Number'>1</span> <span class='Function'>+</span> <span class='Number'>2</span>
3

      <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>
⟨ 3 4 5 ⟩

      <span class='String'>'a'</span> <span class='Function'>+</span> <span class='Number'>4</span>
'e'
</pre>