OK, checkpoint E for the J Primer suggests that we play around with some verbs
other than "+" and so I got this out of "," -

    (i. 2 3) , 7
0 1 2
3 4 5
7 7 7

I applied my dyadic verb processing worksheet to this, but ran into problems
when I attempted bringing the arguments to a common rank (of at least 1) by
repeatedly itemizing (,:) any of lower rank per  
    http://www.jsoftware.com/help/dictionary/d320.htm

Write out the entire expression:     (i.2 3) , 7
Write out the abbreviated verb rank: _ _ _
Expand the verb rank(*1):            _ _ _

Rank Calculation:
----------------
left-noun-rank: 2                       right-noun-rank: 0
left-verb-rank: _                       right-verb-rank: _
lesser left rank, lr = 2                lesser right rank, rr = 0

The verb will be applied to 2-cells of the left operand 
and to 0-cells of the right operand.

left-noun-shape: 2 3                    right-noun-shape: empty list

Frame Calculation: per http://www.jsoftware.com/jwiki/Essays/A_Fine_Line
-----------------------------------------------------------------------
left-frame: lf = empty                  right-frame: rf = empty list

Result frame will be longer of the two frames, which is an empty list

Now, consult the dictionary -

x,y appends items of y to items of x after:

  1.    Reshaping an atomic argument to the shape of the items of the
        other,

The items of i. 2 3 are of shape 3. So 7 becomes 3 $ 7 or 7 7 7


  2.    Bringing the arguments to a common rank (of at least 1) by
        repeatedly itemizing (,:) any of lower rank, and 

I cant figure out what expression is being used on 7 7 7 here... help
needed 

  3.    Bringing them to a common shape by padding with fill elements
        in the manner described in Section II B. 

Not entirely sure about this either.




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

Reply via email to