aboutsummaryrefslogtreecommitdiff
path: root/docs/help/currentfunction.html
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-01-24 20:13:18 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2022-01-24 20:14:44 -0500
commit5566ea9429f75b54a8cffb9ebea7747ea651d52c (patch)
treecb50a64656fff5c2d41a22dcd6ce553ac1bd8e2e /docs/help/currentfunction.html
parent3b6599b12470fe9b1321111d31c34685ffd5db52 (diff)
Editing
Diffstat (limited to 'docs/help/currentfunction.html')
-rw-r--r--docs/help/currentfunction.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/help/currentfunction.html b/docs/help/currentfunction.html
index 8aa11806..6da30ed7 100644
--- a/docs/help/currentfunction.html
+++ b/docs/help/currentfunction.html
@@ -6,7 +6,7 @@
<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="mathematical-double-struck-s-𝕊"><a class="header" href="#mathematical-double-struck-s-𝕊">Mathematical Double-struck S (<code><span class='Function'>𝕊</span></code>)</a></h1>
<h2 id="𝕊-current-function"><a class="header" href="#𝕊-current-function"><code><span class='Function'>𝕊</span></code>: Current Function</a></h2>
-<p>A variable assigned to the current function block. <code><span class='Value'>𝕤</span></code> can be used to access the current function block as a subject.</p>
+<p>A variable assigned to the current function block. <code><span class='Value'>𝕤</span></code> accesses the same value but has a subject role.</p>
<p><code><span class='Function'>𝕊</span></code> can be used for recursion.</p>
<a class="replLink" title="Open in the REPL" target="_blank" href="https://mlochbaum.github.io/BQN/try.html#code=RiDihpAge/CdlYogMDogMTsg8J2VqSDDlyDwnZWKIPCdlaktMX0gIyBGYWN0b3JpYWwKRiA1Cgp78J2VpOKAv/CdlaR9NA==">↗️</a><pre> <span class='Function'>F</span> <span class='Gets'>←</span> <span class='Brace'>{</span><span class='Function'>𝕊</span> <span class='Number'>0</span><span class='Value'>:</span> <span class='Number'>1</span><span class='Value'>;</span> <span class='Value'>𝕩</span> <span class='Function'>×</span> <span class='Function'>𝕊</span> <span class='Value'>𝕩</span><span class='Function'>-</span><span class='Number'>1</span><span class='Brace'>}</span> <span class='Comment'># Factorial
</span> <span class='Function'>F</span> <span class='Number'>5</span>