Content deleted Content added
→I disagree that Python has partial application.: new section |
|||
Line 444:
: I disagree. Languages within a family typically have similar support for various language features. Simply ordering the table alphabetically or chronologically would make it a lot more messy. —''[[User:Ruud Koot|Ruud]]'' 19:42, 6 September 2016 (UTC)
== I disagree that Python has partial application. ==
The source links to the functools library which includes functions common in functional programming. It does indeed have a partial application function, but what it does is just sort of provide a function that can be used in place of partial application. Python doesn't actually implement it on a syntax level. Have a function that takes an argument "x" and returns "x + 1" isn't partial application of "+1", it's just a function that is used instead of actual partial application. If Python has partial application, then every language which has closures also has partial application and you could probably argue that any language that has functions has partial application.
|