aboutsummaryrefslogtreecommitdiff
path: root/docs/help/constant.html
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-01-19 15:10:38 -0500
committerGitHub <noreply@github.com>2022-01-19 15:10:38 -0500
commitce364aeae795ca8a8e46e653b8024ac5a9ad0982 (patch)
tree7af238dbdb370a768f965066dadadd144cbd70f7 /docs/help/constant.html
parent8f0aa14fa695ff3aa3b3ed96c02fdb2ab99f272c (diff)
parentedddb9be0aa1f03c8608d3dabf7ccfea3fdde206 (diff)
Merge pull request #55 from razetime/master
Simple help pages for Primitive Symbols
Diffstat (limited to 'docs/help/constant.html')
-rw-r--r--docs/help/constant.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/help/constant.html b/docs/help/constant.html
new file mode 100644
index 00000000..10312562
--- /dev/null
+++ b/docs/help/constant.html
@@ -0,0 +1,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=ICAgImhlbGxvIiAoMSDLmSkgMgoKICAgImhlbGxvIiAoe/Cdlagr8J2VqX0gy5kpIDI=">↗️</a><pre> <span class='String'>&quot;hello&quot;</span> <span class='Paren'>(</span><span class='Number'>1</span> <span class='Modifier'>˙</span><span class='Paren'>)</span> <span class='Number'>2</span>
+1
+
+ <span class='String'>&quot;hello&quot;</span> <span class='Paren'>(</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='Paren'>)</span> <span class='Number'>2</span>
+(function block)
+</pre>