> On May 14, 2016, at 7:51 AM, David Tran <email55...@gmail.com> wrote: > > Hi, > > Newbie study "MasteringDyalogAPL"; got error on page #388 example: > > 3 0 2 ∘./ 5 1 7 > SYNTAX ERROR > 3 0 2∘./5 1 7 > ^ ^ > > bug? ( or this is a specify feature of Dyalog and not APL2 ? )
It’s documented in the info page of gnu apl. A feature (bug?) of the parser treats / as an operator in this case. Simple workaround would be 3 0 2 ∘.{⍺/⍵} 5 1 7 5 5 5 1 1 1 7 7 7 5 5 1 1 7 7 I have too limited experience to say whether it is good or bad. Perhaps the parser should accept some exceptional cases? Best, Xiao-Yong