raz / test / err / MatchBlankString.raz

12 lines · 194 B · raw · history · last change 122c3f10

1module MatchBlankString;
2(* The arm for every other string is else, not _ *)
3proc f(s: []U8);
4begin
5 match s of
6 | "x": return;
7 | _: return;
8 end;
9end;
10
11begin
12end MatchBlankString.