From: Difference between revisions

Jump to navigation Jump to search
240 bytes removed ,  19 February
→‎History: Remove speculative Dyalog 20.0 reference and consolidate
m (Text replacement - "KAP" to "Kap")
(→‎History: Remove speculative Dyalog 20.0 reference and consolidate)
 
Line 45: Line 45:
[[SHARP APL]] followed A Dictionary of APL and used <code>{</code>, but this was later deprecated, programmers being told to use <code>@</code> instead.<ref>Soliton Associates Limited. SHARP APL for UNIX Language Guide. [https://abrudz.github.io/SAX2/SAX61.pdf#G41.16516 Deprecated Primitives: Braces]. 2000.</ref>
[[SHARP APL]] followed A Dictionary of APL and used <code>{</code>, but this was later deprecated, programmers being told to use <code>@</code> instead.<ref>Soliton Associates Limited. SHARP APL for UNIX Language Guide. [https://abrudz.github.io/SAX2/SAX61.pdf#G41.16516 Deprecated Primitives: Braces]. 2000.</ref>


The name Select and glyph <code>⊇</code> were introduced by [[Extended Dyalog APL]], and subsequently adopted by [[dzaima/APL]] and [[Kap]].
The name Select and glyph <code>⊇</code> were introduced by [[Extended Dyalog APL]], and subsequently adopted by [[dzaima/APL]] and [[Kap]]. In addition to including it in Extended and the later [[Dyalog APL Vision]], [[Adám Brudzewsky]] described Select as a possible future [[Dyalog APL]] primitive in a presentation at [[Dyalog '22]].<ref>[[Adám Brudzewsky]]. [https://dyalog.tv/Dyalog22/?v=itGiA56NSl8 Filling the Core Language Gaps]. [[Dyalog '22]]. 2022-10-13.</ref>


[[BQN]] uses the name Select like Extended Dyalog APL but takes the direction of the glyph <code>⊏</code>, as well as negative indexing, from J. For a nested left argument it uses a new extension: instead of viewing nesting as elaboration of each element of the left argument, it instead treats it as providing a list of left arguments to select from multiple axes of the right argument. This extension provides the functionality of APL's [[Index (function)|Index]] not by requiring the left argument as a whole to be enclosed but by requiring that each of its elements be an array.
[[BQN]] uses the name Select like Extended Dyalog APL but takes the direction of the glyph <code>⊏</code>, as well as negative indexing, from J. For a nested left argument it uses a new extension: instead of viewing nesting as elaboration of each element of the left argument, it instead treats it as providing a list of left arguments to select from multiple axes of the right argument. This extension provides the functionality of APL's [[Index (function)|Index]] not by requiring the left argument as a whole to be enclosed but by requiring that each of its elements be an array.
In 2022, [[Adám Brudzewsky]] included <syntaxhighlight lang=apl inline>⊇</syntaxhighlight> in his [[Dyalog user meeting]] presentation, expecting it to be included in [[Dyalog APL 19.0]].<ref>[[Adám Brudzewsky]]. [https://dyalog.tv/Dyalog22/?v=itGiA56NSl8 Filling the Core Language Gaps]. [[Dyalog '22]]. 2022-10-13.</ref> However, this didn't happen. Instead he conveyed the opinion of Dyalog CTO, [[Morten Kromberg]], that the primitive would be added in [[Dyalog APL 20.0|20.0]].<ref>Adám Brudzewsky. Chat message {{m|62374963}}. [[APL Orchard]]. 2022-11-14.</ref>


== See also ==
== See also ==

Navigation menu