hkuplg/fcore

Wildcards in pattern match

Opened this issue · 0 comments

data Xxx = A | B | C | D | E;

let fn (x : Xxx) =
    case x of
        A   -> True
     |  _   -> False;
        ^~~~~~~~~ Parse Error