chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] coops


From: John Cowan
Subject: Re: [Chicken-users] coops
Date: Thu, 20 Jan 2011 10:19:38 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

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       address@hidden
saying "No information items inside".           http://www.ccil.org/~cowan
        --Eve Maler



reply via email to

[Prev in Thread] Current Thread [Next in Thread]