aboutsummaryrefslogtreecommitdiff
path: root/test/lambdas.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-09 14:09:18 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-03-09 14:09:18 -0500
commit1627a913a44bd197fecfc59111f156943563c5ea (patch)
tree73835ce7864d4fbec4ceb938d0a6567e53efa714 /test/lambdas.tm
parentdfd38cdb69610db416db96cb2eefcc515cfd0bf7 (diff)
Lambda fixes/improvements
Diffstat (limited to 'test/lambdas.tm')
-rw-r--r--test/lambdas.tm3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lambdas.tm b/test/lambdas.tm
index b5eefb20..e5ddc5b3 100644
--- a/test/lambdas.tm
+++ b/test/lambdas.tm
@@ -4,3 +4,6 @@
>> add_one
>> add_one(10)
= 11
+
+>> shout := func(msg:Text) say("{msg:upper()}!")
+>> shout("hello")