match
match copied to clipboard
Different ways to write guards
// currently supported
match(
x => 2, when(x => x > 3)
)
// no support
match(
(x = when(x > 3)) => 2
)