From: Difference between revisions

Jump to navigation Jump to search
151 bytes added ,  10:44, 27 April 2022
no edit summary
No edit summary
No edit summary
(One intermediate revision by one other user not shown)
Line 2: Line 2:
|<code>⊇</code> <code>@</code>
|<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>).
'''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 [[SAX]] (as <source lang=apl inline>@</source>), [[Extended Dyalog APL]], [[dzaima/APL]], and [[KAP]] (as <source lang=apl inline>⊇</source>), [[J]] (as <source lang=j inline>{</source>), and [[BQN]] (as <code>⊏</code>).


== Common usage ==
== Common usage ==
Line 58: Line 58:
* J: [https://www.jsoftware.com/help/dictionary/d520.htm Dictionary], [https://code.jsoftware.com/wiki/Vocabulary/curlylf#dyadic Nuvoc]
* J: [https://www.jsoftware.com/help/dictionary/d520.htm Dictionary], [https://code.jsoftware.com/wiki/Vocabulary/curlylf#dyadic Nuvoc]
* [https://abrudz.github.io/SAX2/SAX61.pdf#M44.9.from SAX]
* [https://abrudz.github.io/SAX2/SAX61.pdf#M44.9.from SAX]
* [https://mlochbaum.github.io/BQN/doc/select.html BQN]


== References ==
== References ==
<references/>
<references/>
{{APL built-ins}}[[Category:Primitive functions]]
{{APL built-ins}}[[Category:Primitive functions]]

Navigation menu