[Top][All Lists]

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

Re: [Bug-apl] Beginner question: assigning functions to variables

From: Kaspar Emanuel
Subject: Re: [Bug-apl] Beginner question: assigning functions to variables
Date: Mon, 30 Apr 2018 13:24:36 +0000

Thanks to both of you and especially Louis for the longer explanation. At the moment I am going through these specific bits with https://github.com/ngn/apl which seems to support the "tacit" syntax. I'll continue to compare with GNU APL as well. Will have to check out quadCR and quadFX and the J language at some point. So much to do...

On 30 April 2018 at 12:51, Leslie S Satenstein <address@hidden> wrote:
Look at quadCR and quadFX

On 30 April 2018 at 11:50, Louis de Forcrand <address@hidden> wrote:

Yes, this syntax is referred to as “tacit” or “point-free” syntax as it doesn’t involve any variables, and is non-ISO syntax. It’s taken from the J programming language, which is an APL-like language (its descendent actually), and is specific to Dyalog (perhaps NARS as well?).

Quite a bit can be done with it, but nothing can be done that can’t be done with standard traditional functions (defined with the Del editor or similar methods) and dynamic functions (the ones with curly braces, which are by the way non-standard syntax as well).

To put things simply, most (all?) lines of standard APL code must end with data (not a function, including those enclosed in parentheses.


On 30 Apr 2018, at 04:10, Kaspar Emanuel <address@hidden> wrote:

Hello all,

Sorry, this might be a stupid question, but I have just started working through https://tutorial.dyalog.com (site seems to have gone down just now as well) and in it they suggest assigning functions to a variable. Something like:

    1 a 1

In GNU APL this gives a syntax error. I am guessing this is not standard APL? I tried searching online and in the PDF linked from the GNU APL site but didn't come up with anything. Should I just ignore that part of the tutorial or is there something similar in GNU APL?



reply via email to

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