Partial function application: Difference between revisions

Content added Content deleted
Line 1,512: Line 1,512:
4, 16, 36, 64
4, 16, 36, 64


=={{header|Mathematica}}==
=={{header|Mathematica}}/{{header|Wolfram Language}}==
<lang Mathematica>fs[f_, s_] := Map[f, s]
<lang Mathematica>fs[f_, s_] := Map[f, s]
f1 [n_] := n*2
f1 [n_] := n*2