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
(subsetp (list ?a) (list ?a ?b ?c ?d))
(subsetp (list ?a ?b) (list ?a ?b ?c ?d))
(subsetp (list ?a) nil)
But should return nil.
(subsetp nil (list ?a ?b ?c ?d))
(subsetp nil 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.
XEmacs-Beta mailing list