summaryrefslogtreecommitdiff
path: root/tests/func2.bth
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-06-26 14:48:27 +0100
committerubq323 <ubq323@ubq323.website>2024-06-26 14:48:27 +0100
commit517e9fe048844533d927c4e3b6d021f82ccea984 (patch)
tree5629a6d2e43201c14a8d43d652751ff8a987eefb /tests/func2.bth
parenta8519434f058d0ab60bf7f90acc61997cb982cfa (diff)
remove OP_PUTS and OP_PRINT, use say and write functions instead
Diffstat (limited to 'tests/func2.bth')
-rw-r--r--tests/func2.bth6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/func2.bth b/tests/func2.bth
index ee995fa..e57bc27 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)))
-(puts (f1 6))
-(puts (f2 20 40))
-(puts (f1 (f2 2 1)))
+(say (f1 6))
+(say (f2 20 40))
+(say (f1 (f2 2 1)))