a |:@:(,@,."_ 0) b
R.E. Boss > -----Original Message----- > From: Programming <programming-boun...@forums.jsoftware.com> On > Behalf Of 'Bo Jacoby' via Programming > Sent: maandag 5 maart 2018 14:35 > To: Programming Forum <programm...@jsoftware.com> > Subject: [Jprogramming] (,a,.2),.,a,.3 > > Let (a =. _1 _1 0 0 0 1) and (b =. 2 3). > For my own education I am trying to make a homecooked version of (p.). > > (+`*/}:(,a,.2),.,a,.3) produces the same result as (a p. b) I need a nice > verb (f) > such that (a f b) produces ((,a,.2),.,a,.3) Thanks! Bo. > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm