aboutsummaryrefslogtreecommitdiff
path: root/docs/help/cells.html
blob: 4d12380213c9eb0986bd563f441d4ceebf0477e8 (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
27
<head>
  <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/>
  <link href="../style.css" rel="stylesheet"/>
  <title>BQN: Breve (˘)</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="breve-"><a class="header" href="#breve-">Breve (<code><span class='Modifier'>˘</span></code>)</a></h1>
<h2 id="𝔽-𝕩-𝕨-𝔽-𝕩-cells"><a class="header" href="#𝔽-𝕩-𝕨-𝔽-𝕩-cells"><code><span class='Function'>𝔽</span><span class='Modifier'>˘</span> <span class='Value'>𝕩</span></code>, <code><span class='Value'>𝕨</span> <span class='Function'>𝔽</span><span class='Modifier'>˘</span> <span class='Value'>𝕩</span></code>: Cells</a></h2>
<p>Apply <code><span class='Function'>𝔽</span></code> to/between the major cells of the arguments. (<code><span class='Function'>𝔽</span><span class='Modifier2'></span><span class='Number'>¯1</span></code>)</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=YSDihpAgM+KAvzMg4qWKIOKGlTkKCgo8y5ggYQoKYSDiiY3LmCBh">↗️</a><pre>    <span class='Value'>a</span> <span class='Gets'></span> <span class='Number'>3</span><span class='Ligature'></span><span class='Number'>3</span> <span class='Function'></span> <span class='Function'></span><span class='Number'>9</span>


    <span class='Function'>&lt;</span><span class='Modifier'>˘</span> <span class='Value'>a</span>
⟨ ⟨ 0 1 2 ⟩ ⟨ 3 4 5 ⟩ ⟨ 6 7 8 ⟩ ⟩

    <span class='Value'>a</span> <span class='Function'></span><span class='Modifier'>˘</span> <span class='Value'>a</span>
┌─       
╎ 0 1 2  
  0 1 2  
         
  3 4 5  
  3 4 5  
         
  6 7 8  
  6 7 8  
        ┘
</pre>