So it looks like GNU APL parses ∘.∘.+ as ∘.(∘.+).

IBM APL2 and Dyalog appear to parse it as (∘.∘).+.

Jay.

On 15 June 2016 at 04:05, Xiao-Yong Jin <jinxiaoy...@gmail.com> wrote:

> Hi Alex,
>
> It is correct.  You need nested vectors to see the effect.
>
> Try the following.
>
>       (⊂[2]2 3⍴⍳6)∘.{⍺∘.{⍺+⍵⊣⎕←⍺,'I',⍵}⍵⊣⎕←⍺,'O',⍵}(⊂[2]10×2 3⍴⍳6)
>
> Best,
> Xiao-Yong
>
> > On Jun 14, 2016, at 6:39 PM, Alex Weiner <alexwei...@alexweiner.com>
> wrote:
> >
> > Hi Bug-APL,
> >
> > Surely this is not correct:
> >
> >      5∘.∘.+9
> > 14
> >
> >
> > I would expect a syntax error.
> > If this is valid, then I stand corrected
> >
> > -Alex
> >
>
>
>

Reply via email to