[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Make infinity and pi symbols into constants?

From: Elias Mårtenson
Subject: [Bug-apl] Make infinity and pi symbols into constants?
Date: Thu, 16 Jan 2014 13:06:41 +0800

I know some APL implementations (NARS2000 for example, if I remember correctly) allows you to use the symbol π as an alternative to ○1. Would it make sense to do the same for GNU APL?

Likewise, being able to type ∞ instead of ⌊/⍳0 would also be neat, mainly because it makes sense. Also, wouldn't it make sense to use ¯∞ as negative infinity, rather than -∞?

Oh, and one more extension would be to implement a function √ whose monadic form would return the square root, and dyadically returns the L root of R (this is something NARS does, I think).

If you don't think this makes sense, an alternative would be to simply allow these symbols as characters in names, and a program can define these functions and constants itself.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]