This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: kawa numerics unstable


not clear that this is a bug, but it's a change in behavior. before 
your numerics changes, kawa would automatically convert java numeric 
types to kawa numerics (in some situations, at least):

    #|kawa:34|# (invoke (invoke-static <java.lang.Integer> 'parseInt "1") 'getClass)
    class gnu.math.IntNum
    #|kawa:35|# (scheme-implementation-version)
    1.9.3 (revision 6275M)


in the latest revision, this conversion doesn't happen:
    #|kawa:70|# (invoke (invoke-static <java.lang.Integer> 'parseInt "1") 'getClass)
    class java.lang.Integer
    #|kawa:71|# (scheme-implementation-version)
    1.9.90 (revision 6451M)


so, is the intention that code should now do this conversion explicitly?
or is it an unintended consequence?

thanks..


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