|
From: | Juergen Sauermann |
Subject: | [Bug-apl] Make infinity and pi symbols into constants? |
Date: | Thu, 16 Jan 2014 14:19:39 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5 |
Hi Elias, I believe we should weight the advantages of such extensions against their disadvantages. Obviously π is shorter than ○1 and √ is shorter than ⋆.5 But: - These symbols are on no APL keyboard, - They are not in some APL fonts, - They are rarely used. Regarding ∞ right now GNU APL prints +∞ or -∞ if a number is larger than 1E307 or so. But you cannot enter +∞ or -∞. They are output-only. It may make sense to use ¯∞ instead of -, but then +∞ should become ∞ (otherwise +∞ and -∞ would use different formats. Not sure what looks better. In the past, commercial APL vendors have used their extensions of APL in order to compete with other commercial vendors. Which is fair enough. But it has also locked in the users of a particular interpreter and then the "benefit" of a non-standard APL extension fires back. And, more importantly, the already small community of APL users was divided into even smaller fractions that cannot easily exchange their APL code. Now, GNU APL is not commercial, so there is no need to compete by means of non-standard improvements of APL. GNU APL also has its own extensions like ⎕INP and ⎕SI, but I would like to keep them at a minimum and stick to the ISO standard as much as possible. I have also seen things that have been implemented, which I consider simply awful and un-APL-ish. Having all that said, I would like to hear more opinions about this topic. If there is a strong demand for the proposals below, then I can implement them despite my concerns. My current plan with GNU APL is this: GNU APL 1.3: Lambdas (aka. direct functions) and an open workspace interchange format GNU APL 1.4: Parallel / multicore implementation of primitive functions and operators /// Jürgen
|
[Prev in Thread] | Current Thread | [Next in Thread] |