I haven't figured out a way to do this without creating
the inner conjunction as a named entity.  Doing that, for
example with

   c =: 2 : 0
[EMAIL PROTECTED]
)

you can write

   foo =: 2 : 'u c v"0 1 0'
   + foo -
[EMAIL PROTECTED]"0 1 0


   foo =: 2 : '0&$: : (u c v)'
   + foo -
0&$: :([EMAIL PROTECTED]) 


   foo =: 2 : '0&$: : (u c v)"0 1 0'
   + foo -
0&$: :([EMAIL PROTECTED])"0 1 0


Henry Rich

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of bill lam
> Sent: Monday, August 28, 2006 10:51 AM
> To: Programming forum
> Subject: Re: [Jprogramming] how to write adverb with rank
> 
> Henry Rich wrote:
> >    foo =: (1 : 0) (0&$: :)
> > :
> > x u y
> > )
> 
> Thank you. When I use the same pattern for conjuction, both 
> give syntax error
> again. What is the correct syntax for conjunction?
> 
> foo =: (2 : 0) ("0 1 0)
> 0 (m foo n) y
> :
> ''
> )
> 
> foo =: (2 : 0) (0&$: :)
> 0 (m foo n) y
> :
> ''
> )
> 
> -- 
> 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

Reply via email to