diff options
author | ubq323 <ubq323@ubq323.website> | 2024-07-11 15:43:18 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-07-11 15:43:18 +0100 |
commit | d9d307bc676387ab8894f9fb1ee722db8ecf7272 (patch) | |
tree | 135a8ca920a16c7f46cb6cf6b65d6e982163671e /tests/fizzbuzz.bth | |
parent | d8d3770f88d6acc37620d6577fa5a0b026fb1231 (diff) |
set -> set!
Diffstat (limited to 'tests/fizzbuzz.bth')
-rw-r--r-- | tests/fizzbuzz.bth | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fizzbuzz.bth b/tests/fizzbuzz.bth index 2837b55..a94e4e1 100644 --- a/tests/fizzbuzz.bth +++ b/tests/fizzbuzz.bth @@ -1,9 +1,9 @@ -(set n 1) +(set! n 1) (while (< n 30) (say (if (= 0 (% n 5)) (if (= 0 (% n 3)) "fizzbuzz" "buzz") (if (= 0 (% n 3)) "fizz" n))) - (set n (+ n 1))) + (set! n (+ n 1))) |