On Mon, Apr 09, 2012 at 09:00:10PM +0100, Mark Carter wrote: > Is this a bug in chicken? > (rational? 6/10) => #f
Chicken by itself doesn't support ratnums. You'll need the "numbers" egg to get the full numeric tower (including arbitrarily large numbers and complex numbers). > Also > (* 1.0 5/2) > produces > Error: (*) bad argument type: 5/2 If I want to reproduce this, do I need to type in anything else? It doesn't happen here. Cheers, Peter -- http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users