APL syntax: Difference between revisions

Jump to navigation Jump to search
42 bytes added ,  05:21, 29 May 2020
m
Fix red link "primitive" to point to "primitive function" and "primitive operator" respectively
(There's a Wikipedia page on this)
m (Fix red link "primitive" to point to "primitive function" and "primitive operator" respectively)
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|primitive functions]] 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:
trusted
183

edits

Navigation menu