summaryrefslogtreecommitdiff
path: root/tests/defn.bth
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-07-03 11:52:13 +0100
committerubq323 <ubq323@ubq323.website>2024-07-03 11:52:13 +0100
commit9f4e10da9df486b4c048ec2fedbe28491059b739 (patch)
treef963a20550c8455e0b0d53b7c7067b6fa4ea6782 /tests/defn.bth
parent70c782292f48358fc4d3ac3874ac1951b405de48 (diff)
add defn form
Diffstat (limited to 'tests/defn.bth')
-rw-r--r--tests/defn.bth2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/defn.bth b/tests/defn.bth
new file mode 100644
index 0000000..81fcada
--- /dev/null
+++ b/tests/defn.bth
@@ -0,0 +1,2 @@
+(defn (f x) (* x x))
+(say (f 12))