raz / conform / run / LoudOnce.raz

11 lines · 280 B · raw · history · last change 7e721e08

1(* The body of a generic module runs once for an instance, however
2 many times it is imported. *)
3module LoudOnce;
4import Out, A := Loud(I64), B := Loud(I64);
5
6proc main*;
7begin
8 Out.str("sizes "); Out.int(A.size); Out.char(' '); Out.int(B.size); Out.ln;
9end;
10
11end LoudOnce.