Skip to content

Commit 95b5873

Browse files
committed
Add note describing recursion on expansion steps 13 and 14.
1 parent 33e738f commit 95b5873

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

index.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2972,7 +2972,15 @@ <h3>Algorithm</h3>
29722972
has been detected and processing is aborted.</li>
29732973
<li>Recursively repeat steps <a href="#alg-expand-each-key-value">13</a>
29742974
and <a href="#alg-expand-resolve-nest">14</a>
2975-
using <var>nested value</var> for <var>element</var>.</li>
2975+
using <var>nested value</var> for <var>element</var>.
2976+
<div class="note">By invoking steps <a href="#alg-expand-each-key-value">13</a>
2977+
and <a href="#alg-expand-resolve-nest">14</a> on <var>nested value</var>
2978+
we are able to unfold arbitrary levels of nesting, with results being merged into
2979+
<var>result</var>.
2980+
Step <a href="#alg-expand-each-key-value">13</a> iterates through each
2981+
entry in <var>nested value</var> and expands it, while collecting new
2982+
<var>nested values</var> found at each level, until all nesting has been extracted.</div>
2983+
</li>
29762984
</ol>
29772985
</li>
29782986
</ol>

0 commit comments

Comments
 (0)