aboutsummaryrefslogtreecommitdiff
path: root/test/minmax.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-11-02 20:22:19 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-11-02 20:22:19 -0400
commit0b7a0dd043a4c7ccfc924d618508d1edc0115e2f (patch)
tree6e1942840ab7e1e10bed111d8d5a012eacdf8b9b /test/minmax.tm
parent985011aed89706e9a4b06e6c6f3239d53ac8e6e8 (diff)
Change reducers to use (OP: ...) syntax and return an optional value
Diffstat (limited to 'test/minmax.tm')
-rw-r--r--test/minmax.tm2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/minmax.tm b/test/minmax.tm
index fa0e8bd8..a5dd984e 100644
--- a/test/minmax.tm
+++ b/test/minmax.tm
@@ -23,5 +23,5 @@ func main():
>> foos := [Foo(5, 1), Foo(5, 99), Foo(-999, -999)]
- >> (_max_) foos
+ >> (_max_: foos)!
= Foo(x=5, y=99)