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]

GOOPS question (bug?)


Hello,

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.

Yours, 
Niko.


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