You quote (below)

   NB.   u&.v y ↔ vi u v y

   NB.   ;:  has obverse from vocab ;@(,&' '&.>"1)

which is what it does, though I don't see why you want to use it
in preference to ;:^:_1

;@(,&' '&.>"1)|.;:'see happy cat' NB. Apply vocab obverse of ;: to
reversed boxed words
cat happy see

;:^:_1 |.;:'see happy cat' NB. longwinded form of |.&.;:
cat happy see

Mike
(sorry for odd formatting)

On 06/01/2013 10:53 AM, Linda Alvord wrote:

     a=:'see happy cat'

   ;:a

┌───┬─────┬───┐
│see│happy│cat│
└───┴─────┴───┘

   >;:a

see  
happy
cat  

   ,>;:a

see  happycat  

 

Not good!

 

   |.&.;:a

cat happy see

 

Lovely but when I try to remove  &. I get this:

 

   NB.   u&.v y ↔ vi u v y

   NB.   ;:  has obverse from vocab ;@(,&' '&.>"1)

   f=:;@(,&' '&.>"1)

   f a

s e e   h a p p y   c a t 

   (f a) |. ;: a

|length error
|   (f a)    |.;:a

  

Just a little early morning puzzle.

 

Linda 

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

Reply via email to