diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-03-09 14:12:15 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-03-09 14:12:15 -0500 |
| commit | a13f642679664b420ef395168a6d0dcbca64bd74 (patch) | |
| tree | 2ebc1b549d6347593e6823bf3dfebbc5d2baf9fa /test/lambdas.tm | |
| parent | 6f9dedcf5f924b25e9cc2ddaecfa7b3513560eed (diff) | |
Tweaking tests
Diffstat (limited to 'test/lambdas.tm')
| -rw-r--r-- | test/lambdas.tm | 5 |
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 |
