[gambit-list] Renaming of ##fixnum.XXX and ##flonum.XXX primitives

Marc Feeley feeley at iro.umontreal.ca
Wed Jan 29 09:55:40 EST 2014


This is a heads up to those of you using the low-level fixnum and flonum primitives named ##fixnum.XXX and ##flonum.XXX .  Those names are now deprecated and you should instead use the R6RS-style names ##fxXXX and ##flXXX.  In fact, you should avoid the ## prefix if you can by using an appropriate declaration.  For example use

  (let ()
    (declare (extended-bindings))
    (fx* x 2))

rather than

  (##fixnum.* x 2)

The old names are still available, but they will be removed in the not too distant future.

Marc




More information about the Gambit-list mailing list