I'm trying how far I can get mimicking Lua's asymmetric coroutines in Nim, 
using iterators and some macros - not unlike asyncmacro.

The manual is a bit vague about iterator arguments - it states that you need to 
provide the arguments to each call, or wrap the thing in a closure which does 
that for you. But I want to leverage the fact that I can pass _different_ 
arguments to each call - is that considered safe and well defined behaviour? It 
works for me now, but is this intented an something one can rely on to be like 
this in the future?

Reply via email to