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

This is cool, I've always wondered whether Ruby blocks could be implemented in Python, and it looks like you can get there 99% of the way. You'd still need to implement a feature to check to see if the defined function is a generator, and do something different for generators.


nm. i must be confused.




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

Search: