Table of Contents

# $EPIC: uniq.txt,v 1.2 2006/08/20 17:37:08 sthalik Exp $

Synopsis:

$uniq(<word list>)

Technical:

fe ($*) x {
  if (findw($x $function_return) == -1) {
    push function_return $x
  }
}

Practical:

This function returns all of the words in <word list> after all of the duplicates are removed.

Returns:

list of the unique words in <word list>

Examples:

$uniq(one two three two one)       returns "one two three"
$uniq(one    two three  two one)   returns "one two three"
$uniq(blah blah blah)              returns "blah"

History:

This function first appeared in EPIC3.001.