Distinct: Difference between revisions
Content added Content deleted
("Remove lowercase again - it is in the template now") |
("Add category") |
||
Line 10: | Line 10: | ||
{x@&(x?x)=!#x} /k9 unsorted unique |
{x@&(x?x)=!#x} /k9 unsorted unique |
||
[[Category:Operator verbs]] |
Revision as of 02:42, 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