Juergen, thank you for the workaround. it appears that Dyalog APL also supports ,[2]/A A
-------- Original Message -------- Subject: Re: [Bug-apl] ,[2]/Matrix returns a syntax error From: Juergen Sauermann <[email protected]> Date: Jul 16, 2015 6:38 AM To: [email protected],[email protected] CC: Hi Alex, I would say that this is illegal syntax if we look at the ISO standard, but it seems to work in IBM APL2. I will try to make it work in GNU APL as well. In the meantime you can do this: {⍺,[2]⍵}/A A /// Jürgen On 07/16/2015 01:58 AM, [email protected] wrote: Hi Bug APL, I am willing to admit that my syntax is actually incorrect,and would appreciate any help in that sense, but ,/Matrix works: A 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 2 1 A,A 1 2 1 2 1 1 2 1 2 1 2 1 2 1 2 2 1 2 1 2 1 2 1 2 1 1 2 1 2 1 2 1 2 1 2 2 1 2 1 2 1 2 1 2 1 1 2 1 2 1 A,[2]A 1 2 1 2 1 1 2 1 2 1 2 1 2 1 2 2 1 2 1 2 1 2 1 2 1 1 2 1 2 1 2 1 2 1 2 2 1 2 1 2 1 2 1 2 1 1 2 1 2 1 ,/ A A 1 2 1 2 1 1 2 1 2 1 2 1 2 1 2 2 1 2 1 2 1 2 1 2 1 1 2 1 2 1 2 1 2 1 2 2 1 2 1 2 1 2 1 2 1 1 2 1 2 1 ,[2]/A A SYNTAX ERROR ,[2]/A A ^ ^ Even parenthesis don't work: (,[2])/A A SYNTAX ERROR (,[2])/A A ^ ^ -Alex
