[Jprogramming] Applying an adverb to a list/gerund of verbs

2018-08-15 Thread Piet Google
Maybe already answered elsewhere and/or an ignorant question. But can’t figure it out. Is there a (tacit) way to apply an adverb to each of a list of verbs? -- For information about J forums see http://www.jsoftware.com/forums.ht

[Jprogramming] What is the tacit form of try=: 1 : 'u/ % #'

2018-08-01 Thread Piet Google
I’m coming to grips with the power of programming in adverbs. At the risk of boring many of you with my elementary questions, I am asking advice on the tacit equivalent of ju=: 1 : 'u/ % #’ This is a made up example containing the gist of a more complicated situation I’m trying to program. H

[Jprogramming] Why does 1 : ' x u/\ y' fail?

2018-07-31 Thread Piet Google
Since 2 +/\ i.5 1 3 5 7 Further ad=.1 : 'u/\' 2 + ad i.5 1 3 5 7 However adv=.1 : 'x u/\ y' 2 + adv i.5 |domain error Why? I suspect it is something to do with bracketing and/or ‘x’ being passed to u.

Re: [Jprogramming] Tacit equivalent of t=: 1 : '%:@:(u/) y'

2018-07-30 Thread Piet Google
+ a3t i. 8 > 5.2915NB. Tacit "a3t" has the same result as explicit "at" > > Cheers, bob > >> On Jul 30, 2018, at 1:32 PM, Piet Google wrote: >> >> t=: 1 : '%:@:(u/) y' >

[Jprogramming] Tacit equivalent of t=: 1 : '%:@:(u/) y'

2018-07-30 Thread Piet Google
Is there a tacit equivalent of the following t=: 1 : '%:@:(u/) y' Help much appreciated. -- For information about J forums see http://www.jsoftware.com/forums.htm