From d9d307bc676387ab8894f9fb1ee722db8ecf7272 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Thu, 11 Jul 2024 15:43:18 +0100 Subject: set -> set! --- tests/func3.bth | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/func3.bth') diff --git a/tests/func3.bth b/tests/func3.bth index 9c0ceeb..68d5b20 100644 --- a/tests/func3.bth +++ b/tests/func3.bth @@ -1,5 +1,5 @@ -(set f1 (fn (a b) (* a b))) -(set f2 (fn (x) +(set! f1 (fn (a b) (* a b))) +(set! f2 (fn (x) (let (a 3 g (fn (y) (+ y 7))) (* (g a) (g x))))) -- cgit v1.2.3