Search found 2 matches
- Wed Feb 17, 2010 7:30 am
- Forum: Common Lisp
- Topic: How to write one's own remove-duplicates?
- Replies: 4
- Views: 4920
Re: How to write one's own remove-duplicates?
Thanks a lot
That is exactly the result I wanted to achieve 
- Wed Feb 17, 2010 4:45 am
- Forum: Common Lisp
- Topic: How to write one's own remove-duplicates?
- Replies: 4
- Views: 4920
How to write one's own remove-duplicates?
Hello guys! I'm trying to write my own remove-duplicates function. The code I have written so far works fine when the repeating elements of the list are non-adjacent, but it doesn't work at all when they are. Any suggestions? Thank you in advance. (defun uniq (L) (if (= (length L) 0) NIL (if (> (len...