A small contrieved example to illustrate the issue :
template doit(s:untyped):untyped =
stdout.write(s)
""
stdout.writeLine(doit("Hello: "), "This is ", doit("nice ,too."),"Is n't
it?")
stdout.writeLine(doit("Hello: "), doit("This is "), doit("nice
,too."),doit("Is n't it?"))
Run
This yields:
Hello: nice ,too.This is Is n't it?
Hello: This is nice ,too.Is n't it?
Run
The output from the template calls appears grouped together on the first result
line,
the hoped for result would be same order for both lines.