APL Wiki logo: Difference between revisions

Jump to navigation Jump to search
27 bytes added ,  01:46, 3 November 2019
Miraheze>Adám Brudzewsky
Miraheze>Adám Brudzewsky
Line 53: Line 53:
1
1
</source>
</source>
=== Automatic mapping ===
A really nice feature of APL is its array-orientation. For computations which are defined on single elements, [[wikipedia:map (higher-order function)|map]]ping is implicit:
A really nice feature of APL is its array-orientation. For computations which are defined on single elements, [[wikipedia:map (higher-order function)|map]]ping is implicit:
<source lang=apl>
<source lang=apl>
Line 59: Line 60:
</source>
</source>
(What's up with picking zero out of four items? Since all empty hands are equal, there is exactly one such set — the empty set.)
(What's up with picking zero out of four items? Since all empty hands are equal, there is exactly one such set — the empty set.)
== Order of evaluation ==
== Order of evaluation ==
We want to generate the indices using <source lang=apl inline>⍳</source>…
We want to generate the indices using <source lang=apl inline>⍳</source>…

Navigation menu