This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GOOPS question (bug?)


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]