blob: a914e6962e83ff614c050969b54b96d10b5d1a7d (
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=ICAgYSDihpAgM+KAvzMg4qWKIOKGlTkKCgogICA8y5ggYQoKICAgYSDiiY3LmCBh">↗️</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'><</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>
|