@ and / both bind more weakly on their left side than on their right

It's actually slightly different though, because @ also binds tightly
on it's right side. (And, there's a subtle exception in that, which
almost never gets used - if you omit its right side, its left side
binding becomes far weaker (and the result will want to bind on *its*
left side, to get something to bind to the right side of the @).)

Try this:
   9!:3]5 NB. use linear display form for verb/adverb/.. results
   meanie=: +/ % # @
   ]  meanie

Does any of this help?

Thanks,

-- 
Raul

On Wed, Dec 2, 2015 at 10:32 AM, Geoff Canyon <gcan...@gmail.com> wrote:
> On Wed, Dec 2, 2015 at 10:15 AM, Joe Bogner <joebog...@gmail.com> wrote:
>
>> Without it, J sees (+:@+) /
>>
>
> Is that because @ binds more tightly than /   or am I thinking in C terms?
>
> As an aside, I love how J makes me think *completely* differently about
> programming. I have developer friends who think they're multi-lingual
> because they code in PHP and Javascript, and I just smile at them and
> explain +/%#
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to