RosettaCodeData/Task/Currying/J/currying.j

8 lines
136 B
Plaintext

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