This is the mail archive of the guile@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] |
On 10 Nov 1998, Valentin Kamyshenko wrote: > Hello: > > some time ago there was a discussion about implementation of > rationals in guile. So far as I understood, there was not much > interest in this topic here. Nevertheless, I think, it is > important to have support for rationals in some future <snip> I for one don't miss rationals at all. (when writing my Scheme hasher, I had a very hard time getting big integers to hash to the same value as equal reals; rationals would be a nightmare :() Perhaps they should be implemented as a Guile module (compiled or not). That way they would be an optional Guile feature. RNRS encourages Scheme implementations to support as much of the numerical tower as possible: (check!) complex (check!) real rational (check!) integer (small and "big") 3 out of 4 ain't bad. Jay Glascoe jglascoe@jay.giss.nasa.gov