Unique: Difference between revisions
Jump to navigation
Jump to search
Miraheze>Marshall (Created page with "Unique (∪), or Nub, is a monadic set function which removes duplicate major cells from an array. It returns only the distinct cells (those which do not match...") |
Miraheze>Adám Brudzewsky No edit summary |
||
Line 1: | Line 1: | ||
Unique | {{Primitive|∪|Unique}}, or '''Nub'', is a [[monadic]] [[set function]] which removes duplicate [[major cells]] from an array. It returns only the distinct cells (those which do not [[match]] an earlier distinct cell) in the order they appeared in the array. | ||
== Examples == | == Examples == | ||
Line 96: | Line 96: | ||
J [https://www.jsoftware.com/help/dictionary/d221.htm Dictionary], [https://code.jsoftware.com/wiki/Vocabulary/tildedot NuVoc] | J [https://www.jsoftware.com/help/dictionary/d221.htm Dictionary], [https://code.jsoftware.com/wiki/Vocabulary/tildedot NuVoc] | ||
{{APL built-ins}} |