The starting point for including something in J is to probably show how useful it would be.
That said, atred=:1 :0 (}:,m,.<'@:')`:6 ) -`-`-`-`- atred -@:-@:-@:-@:- 1:`2:`3:`4: atred 1:@:2:@:3:@:4: I don't know what you would use this for, though, so probably it could have a better name. Also, you could change m to (|.m) if you wanted to reverse the order of the verbs. Thanks, -- Raul On Thu, Jul 9, 2020 at 5:26 AM Hauke Rehr <hauke.r...@uni-jena.de> wrote: > > Hello everybody, > > I wonder if there’s a simple way to “@:/“ a sequence of steps: > say I want to apply verbs a,b,c,d,e in turn, I could say > sequence =: 3 : 0 > e d c b a y > ) > turning sequence tacit > sequence =: e@:d@:c@:b@:a > or > sequence =: [: e [: d [: c [: b a > (this is 13:’s suggestion) > > I’d rather have a kind of “/” working for conjunctions. > (I’m quite sure one could do it on the ar level somehow > crossing the function/data representation border twice > but I’m not used to playing around with that) > Maybe there is a way I don’t know of? > Or a good reason to not have this kind of thing in J? > > -- > ---------------------- > mail written using NEO > neo-layout.org > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm