Hacker News new | ask | show | jobs
by quietwhisper 3653 days ago
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.)
1 comments

And manually closure-convert everything too?
Python supports nested functions, so closure conversion isn't necessary.