summaryrefslogtreecommitdiff
path: root/tests/pend2.bth
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-08-03 17:49:54 +0100
committerubq323 <ubq323@ubq323.website>2024-08-03 17:49:54 +0100
commit1f257ac91ef3813c563203eacb5320b210fc1aa7 (patch)
treeafd68b70c3c5486b7931419f7164c6ddb16023ab /tests/pend2.bth
parentaa0485fe33204169724d020f9c5e3b91e558ab1e (diff)
change array representation
Diffstat (limited to 'tests/pend2.bth')
-rw-r--r--tests/pend2.bth7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pend2.bth b/tests/pend2.bth
new file mode 100644
index 0000000..69004df
--- /dev/null
+++ b/tests/pend2.bth
@@ -0,0 +1,7 @@
+(defn (f x)
+ (, 10
+ (if x 5 [6 7 8])
+ 100))
+
+(say (f true))
+(say (f false))