[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] Build failing with --enable-ansi
From: |
Camm Maguire |
Subject: |
Re: [Gcl-devel] Build failing with --enable-ansi |
Date: |
24 Jan 2003 13:21:03 -0500 |
Greetings! Sorry, you are right of course. It was a rather dumb
question. My apologies.
Take care,
Peter Wood <address@hidden> writes:
> 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
>
>
--
Camm Maguire address@hidden
==========================================================================
"The earth is but one country, and mankind its citizens." -- Baha'u'llah
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