Dear APLers,
I don't think this is a bug, but intentionally:
Doing f.e.:
{ 3 } ¨ ⍳5
results in gnu-apl to an error:
SYNTAX ERROR
λ1¨⍳5
^ ^
In other APLs, this works just fine, f.e. dyalog (or even april):
{ 3 } ¨ ⍳5
3 3 3 3 3
More general without Each/¨, f.e.
{ 3 } 55
results in gnu-apl in
3 55
but in dyalog (and others) in
3
What's the background of this different behavior in gnu-apl? I also
couldn't find any hint in IBMs APL2 Reference for this behavior.
br & and many thanks for any hint!
br Otto