Currying: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) m (→{{header|C sharp}}: Regularize header markup to recommended on category page) |
Thundergnat (talk | contribs) m (→{{header|REXX}}: fix syntax highlighting markup) |
||
Line 1,863: | Line 1,863: | ||
This example is modeled after the '''D''' example. |
This example is modeled after the '''D''' example. |
||
===specific version=== |
===specific version=== |
||
<lang |
<lang rexx>/*REXX program demonstrates a REXX currying method to perform addition. */ |
||
say 'add 2 to 3: ' add(2, 3) |
say 'add 2 to 3: ' add(2, 3) |
||
say 'add 2 to 3 (curried):' add2(3) |
say 'add 2 to 3 (curried):' add2(3) |