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

I know (and bemoan) that lambdas can only have a single expression returned, but can't you just use a named function? (Not as nice, I agree, but doesn't put a hard limit on FP in python.)


And manually closure-convert everything too?


Python supports nested functions, so closure conversion isn't necessary.




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

Search: