aboutsummaryrefslogtreecommitdiff
path: root/docs/doc/fromDyalog.html
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-07-21 21:52:30 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-07-21 21:52:30 -0400
commit78af096e176ab416d160a0bfeb9e6ffaaecec49d (patch)
treed6d9bffdb5ee46a09ff2a5fb08ef771feaa5a1dd /docs/doc/fromDyalog.html
parent82daaa12bc439ed5ad57e012d57294d43c00e8df (diff)
Low-stack iteration technique
Diffstat (limited to 'docs/doc/fromDyalog.html')
-rw-r--r--docs/doc/fromDyalog.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/doc/fromDyalog.html b/docs/doc/fromDyalog.html
index fdafbf13..d213dbb5 100644
--- a/docs/doc/fromDyalog.html
+++ b/docs/doc/fromDyalog.html
@@ -274,6 +274,7 @@
<p>In BQN <code><span class='Modifier2'>⎉</span></code> is Rank and <code><span class='Modifier2'>∘</span></code> is Atop. Dyalog's Atop (<code><span class='Value'>⍤</span></code>) and Over (<code><span class='Value'>⍥</span></code>) were added in version 18.0.</p>
<h2 id="for-writing">For writing</h2>
<p>The tables below give approximate implementations of Dyalog primitives for the ones that aren't the same. First- and last-axis pairs are also mostly omitted. BQN just has the first-axis form, and you can get the last-axis form with <code><span class='Modifier2'>⎉</span><span class='Number'>1</span></code>.</p>
+<p>The form <code><span class='Function'>F</span><span class='Value'>⍣</span><span class='Function'>G</span></code> (Power with a function right operand; Power limit) must be implemented with recursion instead of primitives because it performs unbounded iteration. The modifier <code><span class='Modifier2'>_while_</span> <span class='Gets'>←</span> <span class='Brace'>{</span><span class='Function'>𝔽</span><span class='Modifier2'>⍟</span><span class='Function'>𝔾</span><span class='Modifier2'>∘</span><span class='Function'>𝔽</span><span class='Modifier2'>_𝕣_</span><span class='Function'>𝔾</span><span class='Modifier2'>∘</span><span class='Function'>𝔽</span><span class='Modifier2'>⍟</span><span class='Function'>𝔾</span><span class='Value'>𝕩</span><span class='Brace'>}</span></code> provides similar functionality without risk of stack overflow. It's discussed <a href="control.html#low-stack-version">here</a> and called as <code><span class='Function'>Fn</span> <span class='Modifier2'>_while_</span> <span class='Function'>Cond</span> <span class='Value'>arg</span></code>.</p>
<table>
<tr><th colspan=3>Functions</th></tr>
<tr><th> Glyph </th><th> Monadic </th><th> Dyadic </th> </tr>