Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
quietwhisper
· 10y ago · 0 comments
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.)
Comments
[–]
kd0amg
10y ago
And manually closure-convert everything too?
[–]
devishard
10y ago
Python supports nested functions, so closure conversion isn't necessary.