blob: f56496f03b921feae1d2352b50a13f3b57491230 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<head>
<link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../style.css" rel="stylesheet"/>
<title>BQN: Circle with Lower Right Quadrant (โถ)</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="circle-with-lower-right-quadrant-"><a class="header" href="#circle-with-lower-right-quadrant-">Circle with Lower Right Quadrant (<code><span class='Modifier2'>โถ</span></code>)</a></h1>
<h2 id="๐ฝ๐-๐ฉ-๐จ-๐ฝ๐-๐ฉ-choose"><a class="header" href="#๐ฝ๐-๐ฉ-๐จ-๐ฝ๐-๐ฉ-choose"><code><span class='Function'>๐ฝ</span><span class='Modifier2'>โถ</span><span class='Value'>๐</span> <span class='Value'>๐ฉ</span></code>, <code><span class='Value'>๐จ</span> <span class='Function'>๐ฝ</span><span class='Modifier2'>โถ</span><span class='Value'>๐</span> <span class='Value'>๐ฉ</span></code>: Choose</a></h2>
<p>Apply <code><span class='Function'>๐ฝ</span></code> to the arguments and use the result to <a href="first_pick.html#๐จ--๐ฉ-pick">pick</a> (<code><span class='Function'>โ</span></code>) a function from list <code><span class='Value'>๐</span></code>. Apply the picked function to the arguments.</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=RiDihpAg4oqi4pe2K+KAvy3igL/Dt+KAv8OXCgpGIDAKCkYgMQoKRiAyCgpGIDM=">โ๏ธ</a><pre> <span class='Function'>F</span> <span class='Gets'>โ</span> <span class='Function'>โข</span><span class='Modifier2'>โถ</span><span class='Function'>+</span><span class='Ligature'>โฟ</span><span class='Function'>-</span><span class='Ligature'>โฟ</span><span class='Function'>รท</span><span class='Ligature'>โฟ</span><span class='Function'>ร</span>
<span class='Function'>F</span> <span class='Number'>0</span>
0
<span class='Function'>F</span> <span class='Number'>1</span>
ยฏ1
<span class='Function'>F</span> <span class='Number'>2</span>
0.5
<span class='Function'>F</span> <span class='Number'>3</span>
1
</pre>
|