Currying: Difference between revisions

No change in size ,  10 years ago
→‎{{header|J}}: J polynomials are little-endian
(Added Wortel)
(→‎{{header|J}}: J polynomials are little-endian)
Line 167:
halve 20
10
someParabola =: 1_2 3 _21 &p. NB. x^2 + 3x - 2</lang>
 
'''Note''': The final example (<tt>someParabola</tt>) shows the single currying primitive (&) combined with J's array oriented nature, permits partial application of a function of any number of arguments.
Anonymous user