Y
Hacker News
new
|
ask
|
show
|
jobs
by
roman_g
2910 days ago
And if foo(z) is consuming a generator somehow (e.g. it's next(g)) then you can't call it twice without side effects.