APL syntax: Difference between revisions
Jump to navigation
Jump to search
m (Fix red link "primitive" to point to "primitive function" and "primitive operator" respectively) |
m (→Syntactic elements: Simpler link encoding) |
||
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 function | 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: |