--nextPart8422408.PpT8ysjy1g Content-Type: text/plain; charset so-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Quoth Todd Benson: > On Nov 18, 2007 8:38 PM, Konrad Meyer <konrad / tylerc.org> wrote: > > > (0..(1.0/0)).each { } will never complete though, because 0.succ is > > eventually going to be a Bignum, while 1.0/0 is a float value Infinity. Since > > a bignum is always going to be less than Infinity, the block is > > executed "forever". (Or at least until the bignum runs the machine out of > > ram.) > > > > Regards, > > -- > > > > Konrad Meyer <konrad / tylerc.org> http://konrad.sobertillnoon.com/ > > > > Yes, this is something people should understand. Also, having Range > allow an infinite side may very well break existing code. Personally > I have no problem with that, but I think the powers that be should > think it over (or maybe they already have). Ranges, IMHO, have a "set" > type purpose, not a pragmatic one. If people want open-ended ranges, > there's nothing I can really do about it, but I disagree with the > concept whole-heartedly. > > I think you and I are mostly in agreement, excepting the fact you may > be more pragmatic than I :-) > > Todd I totally agree with you :). -- Konrad Meyer <konrad / tylerc.org> http://konrad.sobertillnoon.com/ --nextPart8422408.PpT8ysjy1g Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBHQP0CCHB0oCiR2cwRAhauAJ96dmlslb0hVccEP3ceSqpMvDE92wCfbmYi +msk1SacaQpkgye6MpiOWlUJgS -----END PGP SIGNATURE----- --nextPart8422408.PpT8ysjy1g--