Precedence: Difference between revisions

Jump to navigation Jump to search
15 bytes added ,  09:30, 6 October 2022
add nav box
(Created page with "In APL, there is no precedence hierarchy within a given name class - the role which a semantic object fulfills - for example, Arrays, Functions, and Operators have consistent binding strength and scope. So, the APL functions <syntaxhighlight lang=apl inline>÷, ×, *, +</syntaxhighlight> are evaluated in a precisely identical fashion. Unlike other languages, which choose to follow the traditional mathematical rules of precedence. However, there is dispar...")
 
(add nav box)
Line 49: Line 49:


Then functions are applied to their arguments. Note that functions have ''long right scope'' and ''short left scope'', that is, everything to the right of a function is taken as a right argument, and as a left argument the first array to its left. So, functions are said to evaluate right to left.
Then functions are applied to their arguments. Note that functions have ''long right scope'' and ''short left scope'', that is, everything to the right of a function is taken as a right argument, and as a left argument the first array to its left. So, functions are said to evaluate right to left.
{{APL syntax}}

Navigation menu