[Jprogramming] Higher-order function

Eugene McDonnell eemcd at mac.com
Tue Jan 3 12:33:31 HKT 2006


On Jan 2, 2006, at 7:38 PM, June Kim wrote:

> Hello
>
> How could I make a higher-order function in J?
>
> I mean,
>
>     add4=: add 4
>     add4 13
> 17
>     add5=: add 5
>     add5 13
> 18

Does this satisfy your requirement?

    add5 =: +&5
    add5 13
18




More information about the Programming mailing list