Hacker News new | past | comments | ask | show | jobs | submit login

> The key difference between coroutines and effect handlers is that coroutines yield control to their caller, but effectful expressions yield control to their handler. The difference of affordance this implies is the materially significant advantage of coroutines over effect handlers.

Should that last bit be: "advantage of effect handlers over coroutines"?

EDIT: Oh, maybe I should have read the rest of the article first. It might be going the other way than that one example suggested. :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: