From: Difference between revisions

Jump to navigation Jump to search
149 bytes added ,  22:00, 15 May 2021
no edit summary
m (Marshall moved page Select to From over redirect: Use more prominent J and Dictionary of APL name)
No edit summary
Line 1: Line 1:
{{Built-in|From|{}} or '''Select''' (<code>⊇</code>, or <code></code> in [[BQN]]) (sometimes [[humour]]ously called ''Sane Indexing'') is a [[primitive function]] that selects multiple [[major cell]]s of its right argument using an array of [[index|indices]] given by its left. The primitive often offers additional functionality for a [[nested]] left argument, which varies from one language to another. It appears in [[J]], [[Extended Dyalog APL]], [[dzaima/APL]], [[KAP]], and [[BQN]].
{| class=vertical-navbox style="float:right; font-size:500%; margin:0 1ex;"
|<code>⊇</code> <code>@</code>
|}
'''From''' (<code>⊇</code> or <code>@</code> and also called '''Select''', or, [[humour]]ously, ''Sane Indexing'') is a [[primitive function]] that selects multiple [[major cell]]s of its right argument using an array of [[index|indices]] given by its left. The primitive often offers additional functionality for a [[nested]] left argument, which varies from one language to another. It appears in [[J]] (as <source lang=j inline>{</source>), [[Extended Dyalog APL]], [[dzaima/APL]], [[KAP]], and [[BQN]] (as <code>⊏</code>).


== Common usage ==
== Common usage ==

Navigation menu