Nicholas Spies wrote:
> Thanks to everyone for their generous help and advice, particularly in
> light of the scant description I gave as to what I was aiming at. I
> think that Joey Tuttle's solution is sufficient to get on with the
> problem I'm working on.
>     inc =: 4 : '(>: x.{y.) x.}y.'
>    dec =: 4 : '(<: x.{y.) x.}y.'
> It would be interesting (at least for me) to know how one would define
> this tacitly...

Nicolas:

I thought I (and others) posted this using the gerund form of } :

inc=:(>:@:{)`[`] }

As Raul points out, you may wish to change the requirements.

Best wishes,

John


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to