News for hackers. Stuff that matters.
Re:Coconut – Pythonic functional programming language by quietwhisper on Thursday June 23, 2016 @05:29PM (#11964449)
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.)
Re:Coconut – Pythonic functional programming language by kd0amg on Thursday June 23, 2016 @05:31PM (#11964457)
And manually closure-convert everything too?
Re:Coconut – Pythonic functional programming language by devishard on Thursday June 23, 2016 @06:16PM (#11964702)
Python supports nested functions, so closure conversion isn't necessary.