From d9d307bc676387ab8894f9fb1ee722db8ecf7272 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 11 Jul 2024 15:43:18 +0100 Subject: set -> set! --- tests/func4.bth | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/func4.bth') diff --git a/tests/func4.bth b/tests/func4.bth index efd2b71..f527ef9 100644 --- a/tests/func4.bth +++ b/tests/func4.bth @@ -1,5 +1,5 @@ -(set f1 (fn (x) (+ x 10))) -(set f2 (fn (x) (* x 10))) -(set g (fn (f x) (say (f x)) (say (f x)))) +(set! f1 (fn (x) (+ x 10))) +(set! f2 (fn (x) (* x 10))) +(set! g (fn (f x) (say (f x)) (say (f x)))) (g f1 26) (g f2 6) -- cgit v1.2.3