From d9d307bc676387ab8894f9fb1ee722db8ecf7272 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 11 Jul 2024 15:43:18 +0100 Subject: set -> set! --- tests/func2.bth | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/func2.bth') diff --git a/tests/func2.bth b/tests/func2.bth index e57bc27..b47f1fa 100644 --- a/tests/func2.bth +++ b/tests/func2.bth @@ -1,5 +1,5 @@ -(set f1 (fn (a) (* a a))) -(set f2 (fn (a b) (+ a b))) +(set! f1 (fn (a) (* a a))) +(set! f2 (fn (a b) (+ a b))) (say (f1 6)) (say (f2 20 40)) (say (f1 (f2 2 1))) -- cgit v1.2.3