Felix scripsit:

> In Common Lisp and Dylan, pairs are subclasses of list, btw.

That's because LISTP doesn't do what LIST? does; it simply checks
its input for being either a cons or NIL, so that's the definition
of class LIST in CL.  If Scheme's LIST? is being used to define a class,
that class cannot be a superclass of the class of pairs.

-- 
Even a refrigerator can conform to the XML      John Cowan
Infoset, as long as it has a door sticker       [email protected]
saying "No information items inside".           http://www.ccil.org/~cowan
        --Eve Maler

_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to