Version 3 of lrmdups

Updated 2005-03-31 07:17:08 by suchenwi

Procedure to remove duplicate elements from a list. The returned list will be sorted.

RS: You don't even need a procedure for this, because that's exactly what lsort -unique does:

 interp alias {} lrmdups {} lsort -unique

Testinginteractively with a tclsh:

 % lrmdups {foo bar grill bar foo}
 bar foo grill