News for hackers. Stuff that matters.
Re:Q about Lisp union by konsl on Wednesday March 26, 2008 @09:51AM (#146869)
From http://www.cs.queensu.ca/software_docs/gnudev/gcl-ansi/gcl_9...:

... If either list-1 or list-2 has duplicate entries within it, the redundant entries might or might not appear in the result ...

Re:Q about Lisp union by paul_reiners on Wednesday March 26, 2008 @10:13AM (#146885)
Yes, you're right. The fact that they leave the behavior of union in this case undefined in the standard is surprising to me. The fact that SBCL and GNU CLISP implement it the way they do is just bizarre to me.
Re:Q about Lisp union by konsl on Wednesday March 26, 2008 @10:54AM (#146919)
It was probably left in for better performance. Glad I could help.