Partial function application: Difference between revisions

Content deleted Content added
Kazinator (talk | contribs)
Kazinator (talk | contribs)
Line 1,298: Line 1,298:
=={{header|TXR}}==
=={{header|TXR}}==


Partial application is built in via the <code>op</code> operator, so there is no need to create all these named functions, which defeats the purpose and beauty of partial application.
Partial application is built in via the <code>op</code> operator, so there is no need to create all these named functions, which defeats the purpose and beauty of partial application: which is to partially apply arguments to functions in an anonymous, implicit way, possibly in multiple places in a single expression.


Indeed, functional language purists would probably say that even the explicit <code>op</code> operator spoils it, somewhat.
Indeed, functional language purists would probably say that even the explicit <code>op</code> operator spoils it, somewhat.