Y
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
kd0amg
3653 days ago
And manually closure-convert everything too?
link
devishard
3653 days ago
Python supports nested functions, so closure conversion isn't necessary.
link