mrecmod2.nim 182 B

12345678910
  1. # Module B
  2. import trecmod2
  3. proc p*(x: trecmod2.T1): trecmod2.T1 =
  4. # this works because the compiler has already
  5. # added T1 to trecmod2's interface symbol table
  6. return x + 1