RosettaCodeData/Task/Currying/J/currying.j

8 lines
136 B
Text
Raw Permalink Normal View History

2015-02-20 09:02:09 -05:00
threePlus=: 3&+
threePlus 7
10
halve =: %&2 NB. % means divide
halve 20
10
someParabola =: _2 3 1 &p. NB. x^2 + 3x - 2