Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Python yield actually supports coroutines with bidirectional communication, not just unidirectional iterators; while not as full featured as callcc, these cover quite a lot of the use cases.


Agreed regarding use cases. My scheme implementation does both yield and send, cleanly imho, because of call/cc.




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

Search: