This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: GOOPS question (bug?)
- To: Nicolas Neuss <Nicolas dot Neuss at IWR dot Uni-Heidelberg dot De>
- Subject: Re: GOOPS question (bug?)
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 15 Jun 2000 16:31:53 +0200
- Cc: guile at sourceware dot cygnus dot com
- Cc: djurfeldt at nada dot kth dot se
- References: <wszoondoj3.fsf@ortler.iwr.uni-heidelberg.de>
Nicolas Neuss <Nicolas.Neuss@IWR.Uni-Heidelberg.De> writes:
> I have run into the following problem with GOOPS. Defining a method
> for <integer> does not carry over to long integers, since
>
> guile> (is-a? 123456789 <integer>)
> #t
> guile>
>
> guile> (is-a? 1234567890 <integer>)
> #f
> guile>
>
> guile> (is-a? 1234567890 <number>)
> #f
> guile>
>
> Is this a bug? Probably it will vanish if rationals are implemented
> via GOOPS... But is there a workaround for now?
>
> I'm using guile-1.3.5/goops-0.1.6.
The numerical types have been reorganized in guile-1.3.5. You need to
use GOOPS from CVS.
I'll try to make a new release soon after the Guile-1.4 release.