Keeping order with Union
- To: mathgroup at smc.vnet.net
- Subject: [mg32590] Keeping order with Union
- From: "Dave Snead" <dsnead6 at charter.net>
- Date: Wed, 30 Jan 2002 03:19:12 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
I'd like a function that throws out duplicate entries in a list and keeps the 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
- Follow-Ups:
- Re: Keeping order with Union
- From: Tomas Garza <tgarza01@prodigy.net.mx>
- Re: Keeping order with Union