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

Yes, thats where the power of lisp is. Say we want to implement do/while. In Python you would have to go into the compiler. In a Lisp, like Hy. We can just write it as a macro.

We implement yield-from on Python2 using a macro. http://dustycloud.org/blog/how-hy-backported-yield-from-to-p...



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

Search: