APL syntax: Difference between revisions

Jump to navigation Jump to search
23 bytes added ,  14:22, 29 May 2020
m
→‎Syntactic elements: Simpler link encoding
(There's a Wikipedia page on this)
m (→‎Syntactic elements: Simpler link encoding)
(One intermediate revision by one other user not shown)
Line 16: Line 16:
* [[Niladic function]]s, which are evaluated immediately to become one of the above values
* [[Niladic function]]s, which are evaluated immediately to become one of the above values
* In some APLs, [[hyperator]]s continue the array-function-operator hierarchy.
* In some APLs, [[hyperator]]s continue the array-function-operator hierarchy.
Each of these values can usually be stored in a variable, either by [[assignment]] or [[function definition]]. Values of these types can also be written directly in many cases, with [[string]]s, [[numeric literal]]s, or [[array notation]], as predefined [[primitive]] functions and operators, or as inline [[dfn]]s. There are some anomalies which do not fit easily into this system, such as [[Outer Product]], which is written with two [[glyph]]s, and [[function-operator overloading]].
Each of these values can usually be stored in a variable, either by [[assignment]] or [[function definition]]. Values of these types can also be written directly in many cases, with [[string]]s, [[numeric literal]]s, or [[array notation]], as predefined [[primitive function]]s and [[primitive operator|operators]], or as inline [[dfn]]s. There are some anomalies which do not fit easily into this system, such as [[Outer Product]], which is written with two [[glyph]]s, and [[function-operator overloading]].


Additionally, there are some syntactic elements that cannot be used as values:
Additionally, there are some syntactic elements that cannot be used as values:

Navigation menu