raz / conform / err / EnumArmType.raz

13 lines · 185 B · raw · history · last change 3e1c4e5b

1module EnumArmType;
2type
3 Style = (bold, italic);
4 Elem = (para, bold);
5proc main*;
6var e: Elem;
7begin
8 match e of
9 | Style.bold:
10 | else:
11 end;
12end;
13end EnumArmType.