[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] Build failing with --enable-ansi
From: |
Peter Wood |
Subject: |
Re: [Gcl-devel] Build failing with --enable-ansi |
Date: |
Fri, 24 Jan 2003 18:49:46 +0100 |
User-agent: |
Mutt/1.4i |
On Fri, Jan 24, 2003 at 09:24:49AM -0500, Camm Maguire wrote:
> Greetings! What do I return for
>
> (subtypep 1 (find-class 'integer))
>
> ? Why not (values t t)? (typep 1 (find-class 'integer)) is t.
>
> Take care,
>
> Peter Wood <address@hidden> writes:
> ... blah blah...
Hi
Nope. #'subtypep takes two args which must be _type specifiers_.
``1'' is not a type specifier.(AFAIK)
If you had some unknown object, and wanted to check if it was a
subtype of the integer class, I guess you could do:
(subtypep (class-of <unknown-object>) (find-class 'integer))
Regards,
Peter
Re: [Gcl-devel] Build failing with --enable-ansi, Peter Wood, 2003/01/13
Re: [Gcl-devel] Build failing with --enable-ansi, Paul F. Dietz, 2003/01/13