Wildcards in pattern match
Opened this issue · 0 comments
zonyitoo commented
data Xxx = A | B | C | D | E;
let fn (x : Xxx) =
case x of
A -> True
| _ -> False;
^~~~~~~~~ Parse Error
Opened this issue · 0 comments
data Xxx = A | B | C | D | E;
let fn (x : Xxx) =
case x of
A -> True
| _ -> False;
^~~~~~~~~ Parse Error