aboutsummaryrefslogtreecommitdiff
path: root/doc/control.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2021-07-23 22:49:20 -0400
committerMarshall Lochbaum <mwlochbaum@gmail.com>2021-07-23 22:49:20 -0400
commita717221a7dd2fb88ff9d5d07e221a83dc558b47d (patch)
tree0b3ceb6ca130ea5f9dccd706ddb72368a71bd924 /doc/control.md
parent4cc1cb8d7b34eb99d77fd35a53797e6929b348f7 (diff)
Update list notation links
Diffstat (limited to 'doc/control.md')
-rw-r--r--doc/control.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/control.md b/doc/control.md
index d3b47d29..80e3159b 100644
--- a/doc/control.md
+++ b/doc/control.md
@@ -228,7 +228,7 @@ Very wellโ€ฆ a for loop is just a while loop with some extra pre- and post-actio
The initialization can be a simple expression as shown; in fact it's a little silly to make initialization one of the arguments to `For` at all.Unlike in C, it's impossible to declare a variable that's local to the whole `For` loop but not its surroundings. Hopefully this is obvious from the structure of the code! Only curly braces can create a new scope, so to localize some variables in the `For` loop, just surround it in an extra set of curly braces.
-The `While` loop alone allows syntax similar to the `For` loop. Perform any initialization outside of the loop, and compose the post-action with the main body using the reverse composition `{๐”พโˆ˜๐”ฝ}`. Because the composition binds less tightly than stranding, the bracketed list notation has to be used here.
+The `While` loop alone allows syntax similar to the `For` loop. Perform any initialization outside of the loop, and compose the post-action with the main body using the reverse composition `{๐”พโˆ˜๐”ฝ}`. Because the composition binds less tightly than stranding, the bracketed [list notation](arrayrepr.md#brackets) has to be used here.
cโ†27 โ‹„ nโ†0
While โŸจ{๐•คโ‹„1<c}, {๐•คโ‹„n+โ†ฉ1}{๐”พโˆ˜๐”ฝ}{๐•ค