r/apljk•
rrssh

@[&0 doesn't work with negative arguments?

The phrasex f@[&0 yis equivalent tof^:x y, but only if x is positive. Can anyone guess why?

Posted Sep 25, 2017, 9:09 AM UTC

22
AraneusAdoro•

Because third argument to bond is repetition. J doesn't try to figure out the inverse in this case like it would do with ^: but just applies f x times.

2
rrsshOP•

Thanks. I can use f@]^:[ apparently.

2