aboutsummaryrefslogtreecommitdiff
path: root/test/reductions.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-09-21 16:28:57 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-09-21 16:28:57 -0400
commitfd74479a2bf2e4ccc35d1c2fa206de8f28be1e54 (patch)
tree0cdf5c4659264b612b5f3fbb4ce6a3b11dd736f5 /test/reductions.tm
parent92185a002a2e8b669add454a945c0ecdc0904993 (diff)
Deprecate optional '?' postfix operator
Diffstat (limited to 'test/reductions.tm')
-rw-r--r--test/reductions.tm6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/reductions.tm b/test/reductions.tm
index 3ec2ef5e..15c3d454 100644
--- a/test/reductions.tm
+++ b/test/reductions.tm
@@ -2,7 +2,7 @@ struct Foo(x,y:Int)
func main()
>> (+: [10, 20, 30])
- = 60?
+ = 60
>> empty_ints : [Int]
>> (+: empty_ints)
@@ -15,10 +15,10 @@ func main()
= 0
>> (_max_: [3, 5, 2, 1, 4])
- = 5?
+ = 5
>> (_max_.abs(): [1, -10, 5])
- = -10?
+ = -10
>> (_max_: [Foo(0, 0), Foo(1, 0), Foo(0, 10)])!
= Foo(x=1, y=0)