Tracy Harms wrote:
> What I want instead of this is a list of boxes. Each box is 
> to contain the result of I. applied to the corresponding item 
> of  example .  

What you want is  <@I. '0'=":example  .  You don't want  &.>  because verbs 
derived from it have rank zero, and  I.  doesn't make
sense on scalars (  I.  needs to look at a whole list;  I.&.>  can only look at 
an atom at a time).

The reason  <@I.  works without needing the rank conjunction is because  I.  is 
already rank one:

           I. b. 0
        1 _ _
           

If it weren't, you'd need the rank conjunction.  For example, let's say  I.  
were instead defined with rank infinity:

           I  =:  I."_

then you'd need to say something along the lines of  <@:I"1 '0'=":example  .  
Or, say you wanted to take advantage of the special
code which supports  I.@:=  .  Then you'd need to say  '0' <@:(I.@:=)"1  
example.  

Does that help?

-Dan

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

Reply via email to