Yes. But if it is your "workabouts" (you say about)-it is unexpected and non 
intuitive for me (and as i see for the @trisub, and @alexeypetrushin) , more 
over i wonder if its properly covered in the Nim manuals. Yet of course I may 
not percept Nim good enough for it. But my example is about another thing. In 
the example explicitly declared in the closures scope variable p should be 
captured by value and it does not so. But i'm confused by another thing - it 
takes the value (at the closure running) from the variable i, that is not exist 
at the time by all means - and that is what i mean using word "inconsistency".

Reply via email to