Hello, I have some troubles with the "subsetp" predicate. I've defined some functions:
(defun on (x y) (list 'on x y)) (defun ont (x) (list 'ont x)) (defun cl (x) (list 'cl x)) Than I defined a variable *stato*: (setf *stato* (list 'free (on 'A 'B) (on 'D 'C) (cl 'A) (cl 'D))) Now I want to test if a list is a subset of *stato*, but I don't understand the different behavior of the subsetp predicate in theese two situations: (subsetp (list 'free) *stato*) ==> T (subsetp (list 'free (on 'A 'B)) *stato*) ==> nil I know that this is probably due by this "inequality": (equal (on 'A 'B) (on 'A 'B)) ==> nil Now, how can I solve this problem? Where am I wrong? Thanks for your help, Francesco -- Linux Registered User: #414858 P Funking Band http://www.perugiafunkingband.it http://www.myspace.com/perugiafunkingband _______________________________________________ Gardeners mailing list [email protected] http://www.lispniks.com/mailman/listinfo/gardeners
