From 517e9fe048844533d927c4e3b6d021f82ccea984 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Wed, 26 Jun 2024 14:48:27 +0100 Subject: remove OP_PUTS and OP_PRINT, use say and write functions instead --- tests/func4.bth | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/func4.bth') diff --git a/tests/func4.bth b/tests/func4.bth index fca67b1..efd2b71 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) (puts (f x)) (puts (f x)))) +(set g (fn (f x) (say (f x)) (say (f x)))) (g f1 26) (g f2 6) -- cgit v1.2.3