4 ms·
In my defense, I did not say partial is currying, just that it is an alternative to a lambda in Python. I agree with your points, and with Izkata that the more
by memco 4y ago
In my defense, I did not say partial is currying, just that it is an alternative to a lambda in Python.
I agree with your points, and with Izkata that the more relevant nuance is not that Python cannot curry, but that it doesn't do currying as fluently as Haskell, which I think was GP's point about the article. The crux of the article seems to have very little support for the argument of the title that lambdas shouldn't be in Python, but instead only seeks to make clear that "we do not use lambda with the intention of using lambda calculus." It's strongest contribution is to suggest that inline anonymous functions would be a helpful addition to the addition for Python to be able to do lambda calculus.