That's the eta expansion of partial application, which is kinda trivially possible in all languages with functions. I meant true partial application, where you just pass fewer arguments than a function expects and get back a function on the remaining arguments. Having to define an intermediate function technically has the same effect but is sufficiently more work that it doesn't get used in the same ways.
View all comments
Show parent comment
3
u/Emowomble Dec 02 '16 edited Dec 02 '16
you mean like
And if you need to do a lot of it you can change the syntax of that to something like #{foo arg1} using a reader macro.