Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Pedro =?utf-8?Q?Kr=C3=B6ger?= <pedro.kroger-Re5JQEeQqe8AvxtiuMwx3w <at> public.gmane.org>
Subject: Re: unordered list
Newsgroups: gmane.lisp.cl-gardeners
Date: Monday 9th February 2009 15:18:08 UTC (over 7 years ago)
Francesco Petrogalli
 writes:

> Something which can held to the equality between the "unordered list"
> (1 2) and (2 1)?

you can use subsetp to define set-equal:

(defun set-equal (lst1 lst2)
  (and (subsetp lst1 lst2) (subsetp lst2 lst1)))

pedro
 
CD: 19ms