APL syntax: Difference between revisions
Jump to navigation
Jump to search
Miraheze>Adám Brudzewsky No edit summary |
Miraheze>RikedyP |
||
Line 29: | Line 29: | ||
== Example function application == | == Example function application == | ||
<pre class="language-apl"> | <pre class="language-apl"> | ||
÷3 ⍝ Prefix primitive function | |||
0.3333333333 | |||
1+2 ⍝ Infix primitive function | |||
3 | |||
+/1 2 3 4 ⍝ Prefix primitive derived function | |||
10 | |||
2+/1 2 3 4 ⍝ Infix primitive derived function | |||
3 5 7 | |||
</pre> | </pre> | ||