aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/lambdas.tm5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/lambdas.tm b/test/lambdas.tm
index e5ddc5b3..86b4b263 100644
--- a/test/lambdas.tm
+++ b/test/lambdas.tm
@@ -1,9 +1,12 @@
>> add_one := func(x:Int) x + 1
->> add_one
>> add_one(10)
= 11
>> shout := func(msg:Text) say("{msg:upper()}!")
>> shout("hello")
+
+>> asdf := add_one
+>> asdf(99)
+= 100