Thanks Dan, Raul and Viktor,

The part I was missing (aside from the parenthesis typo) was the use of ("_) to 
create the adverb. I had seen it done before with conjunctions requiring verbs 
such as 'each' (&.>) to create adverbs, but using the (3) to complete ("_) was 
unexpected and enlightening. 

Cheers, bob

On 2010-12-15, at 10:43 AM, Dan Bron wrote:

> Ric wrote:
>> adv2 =: 1 : (':';'m*y-x')
> 
> Viktor Cerovski wrote:
>> [We can write this tacitly, thus]
>> 
>>  av2t =: ("_)(`*`(-~))(`:6)
>> 
>> which can be simplified to:
>>  av2t1 =: ("_)(`*`-)(`:6)~
>> 
>> PS: Typed on a handheld device.
> 
> Bob Therriault responded:
>> I seem to get a syntax error from your definitions
> 
> Just move the parens:
> 
>   av2t2 =: ("_)(`*)(`(-~)) (`:6)
> 
> correspondingly,
> 
>   av2t3 =: ("_)(`*)(`-)(`:6)~  NB.  Simplification by substitution:  (N V V~) 
> -: (N V V)~
> 
> -Dan
> 
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to