Version 2 of union

Updated 2007-11-07 19:01:55 by glennj

Procedure to return the logical union of the two specified lists. Any duplicate elements are removed.

Usage:

  union lista listb

Example:

  package require Tclx
  union {a b c d e} {d e d f g c} ;# ==> a b c d e f g

Category Command, a part of Tclx