Group: Difference between revisions
Jump to navigation
Jump to search
(Marshall moved page Group to Group (K): Decided (with Adám) that K doesn't have a strong claim to be primary vs BQN) Tag: New redirect |
(Disambiguation page) Tag: Removed redirect |
||
Line 1: | Line 1: | ||
'''Group''' is the name for primitives in multiple languages, each of which shares the property of collecting lists based on matching elements like SQL's [[wikipedia:Group by (SQL)|Group by]]: | |||
* [[Group (K)]], <syntaxhighlight lang=k inline>=</syntaxhighlight> in [[K]], returns a [[dictionary]] | |||
* [[Group (BQN)]], <syntaxhighlight lang=k inline>⊔</syntaxhighlight> in [[BQN]], returns an array | |||
* [[Uiua]]'s primitive <code>⊕</code> is derived from BQN's and is covered by that page | |||
{{APL built-ins}}[[Category:Primitive functions]] |
Revision as of 01:26, 1 February 2024
Group is the name for primitives in multiple languages, each of which shares the property of collecting lists based on matching elements like SQL's Group by:
- Group (K),
=
in K, returns a dictionary - Group (BQN),
⊔
in BQN, returns an array - Uiua's primitive
⊕
is derived from BQN's and is covered by that page