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: bit-count broken


Sorry, I was going to include this but I forgot:

After patch:

guile> (define foo #*111000)
guile> (bit-count #f foo)
3
guile> (bit-count #t foo)   
3


Before Patch:

guile> (define foo #*111000)
guile> (bit-count #t foo)

Backtrace:
0* [bit-count #t #*111000]

ERROR: In procedure bit-count in expression (bit-count #t foo):
ERROR: Wrong type argument in position 2 (expecting INUMP): #*111000
ABORT: (wrong-type-arg)
guile> (bit-count #f foo)

Backtrace:
0* [bit-count #f #*111000]

ERROR: In procedure bit-count in expression (bit-count #f foo):
ERROR: Wrong type argument in position 2 (expecting INUMP): #*111000
ABORT: (wrong-type-arg)


-Dale

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