raz / test / err / MatchBlankInt.raz

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

1module MatchBlankInt;
2(* The arm for every other value of an integer is else, not _ *)
3proc f(n: INT);
4begin
5 match n of
6 | 1: return;
7 | _: return;
8 end;
9end;
10
11begin
12end MatchBlankInt.