perhaps something like  a F G H b
works where F G H are correct part of speech
related to f g h?

As a motivational example, find R and N y   (i.9) (3 R) N 3 5


   intersect =: -.^:2  NB. I've overlooked a set intersection
                       NB. primitive or phrase?

   relocate =: 1 : '#...@[ | m"_ + ]'
   neighbors =: [: :([ {~ i...@#@[ intersect [: ~. [: , _1 1 +"0 _ ])
   
   2 99 intersect i.4
2

   (i.9) neighbors 3 9
2 4 8

   (i.9) 3 relocate 2 4 8
5 7 2

   (i.9) ([ 3 relocate [ neighbors ]) 3 5
5 7 0

   (i.9) (3 R) N 3 5    NB. <<<<<<<<<-----------------
5 7 0


(in my actual case, f and h are same function.  In this example I could
ask for     neighbors distance relocate neighbors)
On Mon, 2010-06-14 at 12:00 +0800, [email protected] wrote:
> 
>       a ([ f [ g h) b
> 
> Or is [ as a substitute for 'a' anathema?
> 

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

Reply via email to