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

Yes, but I think this is cleared up if you consider that calling a generator function does not execute its body, but return generator object. It doesn't really matter if it's a lambda or a regular named function.


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

Search: