Version 0 of intersect

Updated 2007-11-07 19:03:42 by glennj

Procedure to return the logical intersection of two lists. The returned list will be sorted.

Usage:

  intersect lista listb

Example:

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

Category Command, a part of Tclx