HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by gigatexal | Hacker News Reader
Full thread
gigatexal
·
So it’s like python’s yield statement aka generators?
View on HN
topspin
·
It's more general than generators. You can create generators using it, and also other control flow constructs.
billsix
·
Yup, I did exactly that in Scheme
http://billsix.github.io/bug#_make_generator
ufo
·
It seems that these are stackless so there is no distinction between regular functions and generator functions. You can yield from many levels deep in the call stack, without needing to use "yield from"
Reply on news.ycombinator.com