diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-08-18 14:44:15 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-08-18 14:44:15 -0400 |
| commit | f4b04a1b8cd882e25fee592c819650c9b7e8566b (patch) | |
| tree | dcecb8b4f83d569ebb00beb79988222d195b8f4c /test/lambdas.tm | |
| parent | 04603308af3a2984d42eaa9e301cac0ffbded2a4 (diff) | |
Improved syntax for dollar-string literals
Diffstat (limited to 'test/lambdas.tm')
| -rw-r--r-- | test/lambdas.tm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lambdas.tm b/test/lambdas.tm index 40f24abb..8d543bfc 100644 --- a/test/lambdas.tm +++ b/test/lambdas.tm @@ -12,7 +12,7 @@ func main(): >> add_one(10) = 11 - >> shout := func(msg:Text): say("{msg:upper()}!") + >> shout := func(msg:Text): say("$(msg:upper())!") >> shout("hello") >> asdf := add_one @@ -36,7 +36,7 @@ func main(): fn := func(): return func(): return func(): - defer: //! {outer} + defer: //! $outer return outer >> fn()()() = "Hello" |
