I wondered about using ^: but didn't get it to work -I wasn't iterating a verb string alone.

Good on you

Don


On 3/2/17 11:53 AM, Raul Miller wrote:
These are equivalent:

    (,+/ @(_2&{.))^:4(1)
1 1 2 3 5
    (,+/ @(_2&{.))(,+/ @(_2&{.))(,+/ @(_2&{.))(,+/ @(_2&{.))(1)
1 1 2 3 5

In other words, (F)^:4 does F four times.

Does this help?

Thanks,


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

Reply via email to