Thanks for the post.
On Wed, Dec 19, 2012 at 2:42 AM, steven Mitchell <smitchel(a)bnin.net> wrote:
Benson and I were trying to use subsetp and getting wrong results.
subsetp is supposed to take two lists
and check all the elements of the first list are contained in the second
list.
(subsetp (list ?a) (list ?a ?b ?c ?d))
returns t
(subsetp (list ?a ?b) (list ?a ?b ?c ?d))
returns t
(subsetp (list ?a) nil)
returns (?a)
But should return nil.
(subsetp nil (list ?a ?b ?c ?d))
returns t
(subsetp nil nil )
returns nil
but should return t
A couple of observations:
XEmacs 21.4 returns the proper value in all cases.
It would be very useful to add these test cases to the test suite.
- Vin
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta