3 ms·
My paraphrase: There should be no lambda keyword in Python because the lambda keyword implies idiomatic support for lambda calculus, which Python does not have.
by akprasad 4y ago
My paraphrase: There should be no lambda keyword in Python because the lambda keyword implies idiomatic support for lambda calculus, which Python does not have. (I infer that the author supports renaming the keyword to something like inline instead.)
- kllrnohj 4y agoThe author says as much in the post. There's some discussion of inline towards the end.
- thrown_22 4y agoThe original lambda calculus also didn't have implicit currying for multi-variable functions. If you wanted to curry a function you had to write out λx.λy.λz. x (y z) If you wrote the much more user friendly λ x y z . x (y z) And tried currying it then it would fail. The author is complaining that Python doesn't use a dialect of lambda functions used in Haskell. Which is true. Python isn't Haskell and shouldn't be.