aboutsummaryrefslogtreecommitdiff
path: root/docs/help/constant.html
blob: 17ba55622dfc4dcbd3886e13f82978e6fe500c74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<head>
  <link href="../favicon.ico" rel="shortcut icon" type="image/x-icon"/>
  <link href="../style.css" rel="stylesheet"/>
  <title>BQN: Dot Above (˙)</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="dot-above-"><a class="header" href="#dot-above-">Dot Above (<code><span class='Modifier'>˙</span></code>)</a></h1>
<h2 id="𝔽-𝕩-𝕨-𝔽-𝕩-constant"><a class="header" href="#𝔽-𝕩-𝕨-𝔽-𝕩-constant"><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>: Constant</a></h2>
<p>Returns a function that will always return <code><span class='Value'>𝕗</span></code>.</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=ImhlbGxvIiAxy5kgMgoKImhlbGxvIiB78J2VqCvwnZWpfcuZIDI=">↗️</a><pre>    <span class='String'>&quot;hello&quot;</span> <span class='Number'>1</span><span class='Modifier'>˙</span> <span class='Number'>2</span>
1

    <span class='String'>&quot;hello&quot;</span> <span class='Brace'>{</span><span class='Value'>𝕨</span><span class='Function'>+</span><span class='Value'>𝕩</span><span class='Brace'>}</span><span class='Modifier'>˙</span> <span class='Number'>2</span>
(function block)
</pre>