Is there any reason why 1.8.4's YAML exposes what seems to
be an implementation detail of how many bits it takes to
overflow into a Bignum.
It seems for interoperability with other languages that
use yaml, it'd be very nice to hide this detail and
simply show the (possibly large) integer value, as
it appears 1.8.2 did.
$ uname -a
Darwin kaa.coop.robotcoop.com 8.5.0 Darwin Kernel Version 8.5.0: Sun Jan 22 10:38:46 PST 2006; root:xnu-792.6.61.obj~1/RELEASE_PPC Power Macintosh powerpc
$ ruby -v -ryaml -e 'puts [1, 1<<200].to_yaml'
ruby 1.8.4 (2005-12-24) [powerpc-darwin8.4.0]
···
On Feb 20, 2006, at 5:33 PM, Ron M wrote:
Is there any reason why 1.8.4's YAML exposes what seems to
be an implementation detail of how many bits it takes to
overflow into a Bignum.
It seems for interoperability with other languages that
use yaml, it'd be very nice to hide this detail and
simply show the (possibly large) integer value, as
it appears 1.8.2 did.