Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
https://rosettacode.org/wiki/Partial_function_application
Partial function application, often abbreviated to just partial application (PA), is the ability to take a function of many parameters and apply arguments to some of the parameters to create a new function that needs only the application of the remaining arguments to produce the equivalent of applying all arguments to the original function.
The attached worksheets (M15 and Prime 7) are potential staring points for entries for a Mathcad section within the Rosetta Code webpage. I created them some time ago, but ran out of licence before I could finish them off.
Only M15 is capable of built-in partial application. Mathcad Prime had PA in its initial versions but it was removed. The attached worksheet uses an intermediary function to generate a closure that acts like partial application. However, a number of the listed programming language have taken this route, so it is acceptable.
I haven't found a way to implement partial function application in Mathcad Prime Express.
Stuart
Mathcad 15 - Part 1 - Examples
Mathcad Prime 7 - Part 1 - Examples
Mathcad 15 - Part 2 - Rosetta Code Task Implementation
Mathcad Prime 7 - Part 2 - Rosetta Code Task Implementation
Along the way, I made some ad hoc notes about PA and the differences between M15 and MP.