[Jprogramming] 'Tis the Season...

Joe Bogner joebogner at gmail.com
Wed Dec 2 15:15:08 UTC 2015


Good question on (+/)

Without it, J sees (+:@+) /

   (# - +: @ (+/) @: =&')' ) '((()'

2

(# - +: @ +/ @: =&')' ) '((()'

_4




On Wed, Dec 2, 2015 at 10:11 AM, Geoff Canyon <gcanyon at gmail.com> wrote:

> On Tue, Dec 1, 2015 at 11:22 PM, Joe Bogner <joebogner at gmail.com> wrote:
>
> > Some feedback:
> >
>
> Thanks! I definitely tend to throw parentheses at the problem when a train
> doesn't work the way I expect.
>
> And looking at everyone else's solutions, I realized that the weakness of
> my understanding of i. was making my solution more complex than it needed
> to be.
>
> One question: what are the parentheses around +/ accomplishing?
>
> Again, thanks.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>


More information about the Programming mailing list