Strand notation: Difference between revisions

Jump to navigation Jump to search
85 bytes added ,  20:02, 13 November 2019
no edit summary
Miraheze>Marshall
No edit summary
Miraheze>Adám Brudzewsky
No edit summary
Line 2: Line 2:


Several variations on stranding exist:
Several variations on stranding exist:
* In [[APL2]] arrays are stranded before operator or function evaluation.
* In [[Dyalog APL]], [[NARS2000]] and others, arrays are stranded before operator or function evaluation.
* In [[APL*PLUS]] arrays are stranded after operator evaluation but before function evaluation.
* In [[APL2]], [[APLX]] and others, arrays are stranded after operator evaluation and bracket indexing, but before function evaluation.
* In [[SHARP APL]] and [[J]] stranding is called '''vector notation''' and is a part of token formation rather than execution. Only plain numbers are stranded.
* In [[APL\360]], [[SHARP APL]] and [[J]] stranding is called '''vector notation''' and is a part of token formation rather than execution. Only plain numbers are stranded.


An example in which stranding interferes with the most obvious way of writing a program is shown below. Consider applying the function <source lang=apl inline>f</source> to <source lang=apl inline>0.8</source> three times using the [[Power operator]]:
An example in which stranding interferes with the most obvious way of writing a program is shown below. Consider applying the function <source lang=apl inline>f</source> to <source lang=apl inline>0.8</source> three times using the [[Power operator]]:

Navigation menu