Functional Python

Daniel Sandler shows how to write objectcurry in Python: Called with an object and the name of a method, will return a standalone function that can be called at any time (as if it were still connected to its object). It seems that Python doesn’t have real closures, but I was able to write make-adder … Continue reading Functional Python