From a717221a7dd2fb88ff9d5d07e221a83dc558b47d Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Fri, 23 Jul 2021 22:49:20 -0400 Subject: Update list notation links --- docs/doc/control.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/doc/control.html') diff --git a/docs/doc/control.html b/docs/doc/control.html index ad6c65f8..9dc6e2a8 100644 --- a/docs/doc/control.html +++ b/docs/doc/control.html @@ -185,7 +185,7 @@ }

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 has to be used here.

c27  n0
 While {𝕤1<c}, {𝕤n+1}{𝔾𝔽}{𝕤
   Match (2|c){
-- 
cgit v1.2.3