What is the computer-science term for f(a,b) --> (f(a))(b)? Can you do this in C++?

Joshua

New member
Specifically, given a function f: AxB --> D, produce a functor f: A --> {f: B --> D} with the mapping (f(a))(b) = f(a,b). I think it's named after someone. I'm pretty sure you can do it in Lisp. What's it called, and can you do it in C++, using function pointers or suchlike?
 
Back
Top