diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-10-27 09:37:35 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-10-27 09:37:35 -0700 |
commit | b1a04c59b649ca308810db87bb26004e543ddbaf (patch) | |
tree | 9ac68f20ac008b0c360783e6fbdba39536801ca3 /tutorial | |
parent | 51ed06b5ce27937433497c6fc0d02bc52ac3f157 (diff) | |
download | mu-b1a04c59b649ca308810db87bb26004e543ddbaf.tar.gz |
.
Diffstat (limited to 'tutorial')
-rw-r--r-- | tutorial/index.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tutorial/index.md b/tutorial/index.md index a147b9bc..335390d5 100644 --- a/tutorial/index.md +++ b/tutorial/index.md @@ -429,7 +429,7 @@ Here's a fragment of Mu code: ``` { compare x, 0 - break-if-< + break-if->= x <- copy 0 } ``` @@ -437,7 +437,7 @@ Here's a fragment of Mu code: The combination of `compare` and `break` results in the variable `x` being assigned 0 _if and only if_ its value was less than 0 at the beginning. The `break` family of instructions is used to jump to the end of an enclosing `{}` -block, skipping all intervening instructions. +block if some condition is satisfied, skipping all intervening instructions. To prepare for this task, read the sections in the Mu reference on [`compare`](https://github.com/akkartik/mu/blob/main/mu.md#comparing-values) |