diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-09-16 16:35:38 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-09-16 16:35:38 +0100 |
| commit | 02bd64dfdbfa8134cb93165ee606817b2e6737b5 (patch) | |
| tree | 9a2e463a79150fc90a1481b768c89b2158481dfc /examples/10-while | |
| parent | 904f02af5e2965f73b037e4b3c5d97f57af81987 (diff) | |
Combine assign, val and var statements
Diffstat (limited to 'examples/10-while')
| -rw-r--r-- | examples/10-while/src/Counting.shed | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/10-while/src/Counting.shed b/examples/10-while/src/Counting.shed index 8275fa0c..81d637a2 100644 --- a/examples/10-while/src/Counting.shed +++ b/examples/10-while/src/Counting.shed @@ -13,6 +13,6 @@ fun main() ! Io -> Unit { while (count != 4) { print!(message(count)); - assign count := count + 1; + assign count = count + 1; } } |
