raz / conform / err / OffsetVariant.raz

4 lines · 136 B · raw · history · last change 32b1a75b

1module OffsetVariant;
2type Shape = variant circle(r: I32); square(side: I64); end;
3const At = OFFSET(Shape, circle);
4end OffsetVariant.