raz / conform / run / mods / Loud.raz

10 lines · 222 B · raw · history · last change 1d7484fe

1(* A generic module with a body, which runs once for each instance *)
2module Loud(T);
3import Out;
4
5var size*: I64;
6
7begin
8 size := SIZE(T);
9 Out.str("an instance of Loud, of size "); Out.int(size); Out.ln;
10end Loud.