Python has had generators for a while now, and now they're in JavaScript too. (No real browser support yet, of course.)
I don't think generators are possible to express in Perl. Well. Kind of: Compile::Generator does it with a source filter. Aaand Coro::Generator uses coroutines (Coro)
No comments:
Post a Comment