|
From: | Louis de Forcrand |
Subject: | [Bug-apl] ISO Monadic Quad-FX |
Date: | Sun, 26 Jun 2016 03:04:05 +0200 |
I've been browsing through the system functions in the standard, and found a (somewhat negligible) inconsistency in GNU APL's implementation of monadic ⎕FX. Shouldn't this use of ⎕FX: - define a monad TEST - return 'TEST' ? )CLEAR CLEAR WS ⎕FX ⊃'∇Z←TEST X' '⎕←"hi"' 'Z←X∇' 1 )FNS TEST 5 VALUE ERROR TEST 5 ^ Clearly ⎕CR ⎕FX C yields an error as well, while the standard states that it should be equivalent to C (which is a well-formed character matrix) on page 203. Yes, I should remove the del characters. Then ⎕FX works as described in the standard, except when it should signal errors. Unless the returned 1 is intended behaviour? Thanks, Louis |
[Prev in Thread] | Current Thread | [Next in Thread] |