Distinct: Difference between revisions
Content added Content deleted
("Add category") |
("Add all appropriate categories to each verb") |
||
Line 12: | Line 12: | ||
[[Category:Operator verbs]] |
[[Category:Operator verbs]] |
||
[[Category:Verbs]] |
|||
[[Category:Primitives]] |
Revision as of 03:14, 9 July 2022
Distinct
?x
distinct, a.k.a. unique or uniq, returns a copy of its argument without duplicate items (according to the definition of match). K9 additionally sorts the result.
?"abracadabra" "abrcd"
?"abracadabra" /k9 "abcdr"
{x@&(x?x)=!#x} /k9 unsorted unique