MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Keeping order with Union

I'd like a function that throws out duplicate entries in a list and keeps
original list order.  (when it sees 2 equal entries it throws out the one
that is later in the list).   I'd use Union, but it sometimes changes the
order of the elements in the list.  What's the tersest way to do this?
Thanks in advance,
Dave Snead

  • Prev by Date: Genetic Algorithms
  • Next by Date: How to get rid of this format
  • Previous by thread: Re: Genetic Algorithms
  • Next by thread: Re: Keeping order with Union