On Fri, Aug 14, 2009 at 1:51 AM, bill lam<[email protected]> wrote:
> I have a question, with v not yet defined.
>
>   *: v/" 1 2 3
> *: v/"1 2 3
>
> this is expected. But
>
>   *: A 1 2 3
> 1 2 3
>
>   -: A 1 2 3
> 1 2 3
>
>   <"0 A 1 2 3
> 1 2 3
>
>   <"1 A 1 2 3
> |value error: v
> |       <"1 A 1 2 3
>
> It appears that the bident (verb A) is not executed, (or executed zero times)
> only if the left verb is of rank-0.  How to rationalize this behavior?

   *: A
v/"0 0 0

v/ means that v is used between the items of
the right argument.  v/"0 means there will only
be one item at any one time, for v/, so v is never
evaluated and v/ is the identity function.

FYI,

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

Reply via email to