diff options
Diffstat (limited to 'test/reductions.tm')
| -rw-r--r-- | test/reductions.tm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/reductions.tm b/test/reductions.tm index a844081f..23ccf097 100644 --- a/test/reductions.tm +++ b/test/reductions.tm @@ -2,10 +2,10 @@ struct Foo(x,y:Int) func main(): >> (+: [10, 20, 30]) - = 60? + = 60 : Int? >> (+: [:Int]) - = !Int + = NULL : Int? >> (+: [10, 20, 30]) or 0 = 60 @@ -14,10 +14,10 @@ func main(): = 0 >> (_max_: [3, 5, 2, 1, 4]) - = 5? + = 5 : Int? >> (_max_:abs(): [1, -10, 5]) - = -10? + = -10 : Int? >> (_max_: [Foo(0, 0), Foo(1, 0), Foo(0, 10)])! = Foo(x=1, y=0) @@ -37,7 +37,7 @@ func main(): = yes >> (<=: [:Int]) - = !Bool + = NULL : Bool? >> (<=: [5, 4, 3, 2, 1])! = no |
