foo =: (1 : 0) (0&$: :) : x u y ) Then:
, foo 5 6 0 5 6 3 4 , foo 5 6 3 4 5 6 Henry Rich > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of bill lam > Sent: Monday, August 28, 2006 5:54 AM > To: Programming forum > Subject: Re: [Jprogramming] how to write adverb with rank > > Henry Rich wrote: > > You can start with > > > > foo=: (1 : 0)("0 1 0) > > Hi Henry, > Got it, thanks. > > I also want to know if it is possible to write an adverb > giving a verb with > default left argument, similar to the format > > goo=: 0&$: : (4 : 0) > > -- > regards, > bill > ---------------------------------------------------------------------- > For information about J forums see > http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
