fork download
  1. proc myWriteln(f: File, a: varargs[string, `$`]) =
  2. for s in items(a):
  3. write(f, s)
  4. write(f, "\n")
  5.  
  6. myWriteln(stdout, 123, "abc", 4.0)
  7. # はコンパイラにより変換されて、
  8. myWriteln(stdout, [$123, $"abc", $4.0])
  9.  
Success #stdin #stdout 0s 4560KB
stdin
Standard input is empty
stdout
123abc4.0
123abc4.0