Array notation: Difference between revisions

Jump to navigation Jump to search
614 bytes added ,  02:25, 19 August 2022
→‎History: A+ and K versions (will do Dyalog tomorrow)
(Move most material to Dyalog-specific page and rework introduction)
(→‎History: A+ and K versions (will do Dyalog tomorrow))
Line 37: Line 37:
== History ==
== History ==
:''See also [[Array notation in Dyalog APL]]''
:''See also [[Array notation in Dyalog APL]]''
A predecessor of array notation is the list notation used by both [[A+]] and [[K]], with parenthesis-and-semicolon syntax like <source lang=apl inline>(a;b;c)</source>. In A+ this is related to [[bracket indexing]] and an "expression group" notation written with curly braces and semicolons. It allows line breaks, but in addition to rather than in place of semicolons. The later K version corresponds more closely to APL: the semicolon is a statement separator and is interchangeable with a line break, and because K represents arrays with nested lists, it corresponds to both list and high-rank array notation.


== References ==
== References ==
<references/>
<references/>
{{APL syntax}}[[Category:APL syntax]][[Category:Nested array model]]
{{APL syntax}}[[Category:APL syntax]][[Category:Nested array model]]

Navigation menu