Closed aleclarson closed 6 years ago
Thoughts on other operators in match blocks?
match
let foo = null let result = match (value) { == foo { foo } > 0 { 0 } is true { 'true' } is false { 'false' } else { 'other' } }
I would not put other tokens there no. Pattern matching is meant to create highly optimized code based on static types
Thoughts on other operators in
match
blocks?