(@ def lines(x): @)
(@- for i in range(0,x): -@)
line(@= i @)
(@ end -@)
(@ end @)

(@- def other_lines(): @)
singleline
(@ end -@)

(@ lines(5) @)
(@ # TODO improve error message @)
+++

ERR:
- __ytt_tplXXX_set_node: cannot set non-string value (int64), consider using str(...) to convert to string
    in lines
      stdin:3 | = i 
    in <toplevel>
      stdin:11 |  lines(5) 