Jump to content

Currying: Difference between revisions

15 bytes removed ,  9 years ago
m
(added Mathematica imkplementation)
Line 262:
=={{header|Mathematica}}==
 
Currying can be implemented by nesting the <code>Function</code> [[Mathematica]] keywordfunction. The following method curries the <code>Plus</code> function.
 
In[1]:= plusFC = Function[{x},Function[{y},Plus[x,y]]];
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.