aboutsummaryrefslogtreecommitdiff
path: root/test/lambdas.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-09 14:03:42 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-03-09 14:03:42 -0500
commitdfd38cdb69610db416db96cb2eefcc515cfd0bf7 (patch)
treeea45f5226ef6be3429689722af3cd41d6afd7f61 /test/lambdas.tm
parent955f047e069497be4cbeffa3e0309360aeb1efa7 (diff)
Simple lambda test
Diffstat (limited to 'test/lambdas.tm')
-rw-r--r--test/lambdas.tm6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/lambdas.tm b/test/lambdas.tm
new file mode 100644
index 00000000..b5eefb20
--- /dev/null
+++ b/test/lambdas.tm
@@ -0,0 +1,6 @@
+
+
+>> add_one := func(x:Int) x + 1
+>> add_one
+>> add_one(10)
+= 11