|
From: | David Tran |
Subject: | Re: [Bug-apl] Parsing error? |
Date: | Thu, 12 May 2016 16:54:29 -0400 |
DavidThanks,BTW. here is my version info:( Tested with TryAPL.org without parentheses and work without error )But f is function, with APL's right-associative rule, it should no need parentheses for f.However, adding parentheses works:Hi,I am newbie on APL, so I am not sure below is a bug or not :-)
v ← (1 2 3) (4 5 6)
f ← {1+⍵}
f (⊂ 1 0 1)/¨v
SYNTAX ERROR
f(⊂1 0 1)/¨v
^ ^
f((⊂1 0 1)/¨v)
2 4 5 7
~ $ apl -v
BUILDTAG:
---------
Project: GNU APL
Version / SVN: 1.4 / 7887
Build Date: 2014-08-07 15:46:58 UTC
Build OS: Linux 3.11.0-12-generic x86_64
config.status:
Readline: 0x0603
[Prev in Thread] | Current Thread | [Next in Thread] |