aboutsummaryrefslogtreecommitdiff
path: root/test/lambdas.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-03 13:19:41 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-03 13:19:41 -0400
commit64143f0a131a053414e4b73c17bff994522b11c2 (patch)
tree2545507fde623f8846bf183388acdbb0234b5e65 /test/lambdas.tm
parent5feecff9d93522002c74a1423d138c2aa8bc150d (diff)
Syntax overhaul (comments back to `#`, print statments to `!!`),
using `$/.../` for patterns and using a DSL for patterns
Diffstat (limited to 'test/lambdas.tm')
-rw-r--r--test/lambdas.tm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lambdas.tm b/test/lambdas.tm
index 8d543bfc..62b5fd36 100644
--- a/test/lambdas.tm
+++ b/test/lambdas.tm
@@ -31,12 +31,12 @@ func main():
>> abs100(-5)
= 500
- // Test nested lambdas:
+ # Test nested lambdas:
outer := "Hello"
fn := func():
return func():
return func():
- defer: //! $outer
+ defer: !! $outer
return outer
>> fn()()()
= "Hello"