Currying: Difference between revisions

Content added Content deleted
(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]]];