On Wed, May 13, 2009 at 6:53 PM, bill lam <[email protected]> wrote:

> On Wed, 13 May 2009, gary ng wrote:
> > Are there any hidden 'gem' or reason to say '{.&>' rather than '({."0)'
> as
> > to me the only reason for the &> is to modify the rank of {. ?
>
> If the argument is un-boxed, why would you use {.&> ?  What effect did
> you expect from that > ?
>

That is what puzzled me. This is the original code I came across :

(,|....@}:)(,.|....@}:"1)({.&>~#{.i:@#)(65}.a.)(>:@i.{.[)'E'

from http://www.craigmurphy.com/blog/?p=1417#comment-66863

It does save a pair of '()' but that seems to be not a good practice as it
doesn't use the 'primary' functionality of '>' which is to unbox
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to