Jeremy Martin (2013-07-15T19:49:31.000Z)
forbes at lindesay.co.uk (2013-07-16T18:54:49.546Z)
> That means CPS transforming functions based on whether they call a yielding function. Well, yes :) Admittedly, that does seem messy. Not to sound defeatist, but I'm sensing that I don't actually have the necessary knowledge to further argue this. I'll just end with saying that it'll be unfortunate if we're going to have to endure the clunkiness of nested generators anywhere higher-order functions are called for. Regardless of whatever solutions may or may not be appropriate, I at a minimum echo Claus' sentiment - it seems like there's a nice opportunity here to improve the modeling of control structures.