From d9d307bc676387ab8894f9fb1ee722db8ecf7272 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 11 Jul 2024 15:43:18 +0100 Subject: set -> set! --- tests/fizzbuzz.bth | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/fizzbuzz.bth') 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))) -- cgit v1.2.3