bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Question regarding the power operator (as in Dyalog APL)


From: Juergen Sauermann
Subject: Re: [Bug-apl] Question regarding the power operator (as in Dyalog APL)
Date: Tue, 18 Feb 2014 14:57:16 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi Thomas,

currently the power operator is not on my TODO list. I may implement it
at some point in time, but the mere fact that it is described in "Mastering Dyalog APL"
- which is a very good book - does not suffice.

In most cases the power operator can be replaced with a simple loop (I know that the functional programmers don't like that :-) ) or by the EACH operator, eg.

(⍳5){Z←Z+1}¨Z←2

/// Jürgen


On 02/18/2014 01:15 PM, address@hidden wrote:
Hi,

as a newbie to APL, I bought "Mastering Dyalog APL" in order to discover
the language; I am aware that several variants exist, and I want to use
GNU APL as much as possible because of its license.

Coming from functional programming and J, I miss the "power" operator
which is described in "Mastering Dyalog APL" and which does exist in J.
In Dyalog APL, the symbol ⍣ (U2363) is mapped to such a feature, which is
very useful for some "loopless pieces of code" as well as for inserting
some "inline" conditional structures.

Do you think such an operator may be implemented in GNU APL as well?

Best regards,





reply via email to

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