Union
- To: mathgroup at smc.vnet.net
- Subject: [mg33101] Union
- From: Helge Andersson <helgea at inoc.chalmers.se>
- Date: Sun, 3 Mar 2002 06:30:22 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Hello, I wonder if it is possible to disable the sort-function of the Union command? If not, can someone give me a short and nice procedure f, that can get the union of a list with the original order preserved (the first apperance should be left in the list). I'm not interrested in Do-loops solutions and and similar procedures (I can do that myself) example in: f[{5,4,3,4,1,6}] out: {5,4,3,1,6} Thanks in advance /Helge Andersson