aboutsummaryrefslogtreecommitdiff
path: root/docs/help/enclose_lessthan.html
blob: 7bd6bf849de9b69e28bd2887c21f460b0bb361fe (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
28
<head>
  <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/>
  <link href="../style.css" rel="stylesheet"/>
  <title>BQN: Lesser Than (`<`)</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="lesser-than-"><a class="header" href="#lesser-than-">Lesser Than (<code><span class='Function'>&lt;</span></code>)</a></h1>
<h2 id="--enclose--"><a class="header" href="#--enclose--"><code><span class='Function'>&lt;</span> <span class='Value'>𝕩</span></code>: Enclose</a></h2>
<p>Create a unit array containing <code><span class='Value'>𝕩</span></code>. (<code><span class='Paren'>(</span><span class='Function'></span><span class='Value'>𝕩</span><span class='Paren'>)</span> <span class='Function'></span> <span class='Bracket'>⟨⟩</span></code>)</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ICA8MQoKCiAg4omiPDE=">↗️</a><pre>      <span class='Function'>&lt;</span><span class='Number'>1</span>
┌·   
· 1  
    ┘

    
<span class='Error'>Error: Empty program</span>
      <span class='Function'>&lt;</span><span class='Number'>1</span>
⟨⟩
</pre>
<h2 id="---lesser-than"><a class="header" href="#---lesser-than"><code><span class='Value'>𝕨</span> <span class='Function'>&lt;</span> <span class='Value'>𝕩</span></code>: Lesser Than</a></h2>
<p><code><span class='Value'>𝕨</span></code> and <code><span class='Value'>𝕩</span></code> can both be either numbers or characters.</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=ICAxIDwgMwoKICAy4oC/M+KAvzAgPCAz4oC/MeKAvzA=">↗️</a><pre>      <span class='Number'>1</span> <span class='Function'>&lt;</span> <span class='Number'>3</span>
1

      <span class='Number'>2</span><span class='Ligature'></span><span class='Number'>3</span><span class='Ligature'></span><span class='Number'>0</span> <span class='Function'>&lt;</span> <span class='Number'>3</span><span class='Ligature'></span><span class='Number'>1</span><span class='Ligature'></span><span class='Number'>0</span>
⟨ 1 0 0 ⟩
</pre>