|
From: | Nick Vaughn |
Subject: | Re: [Chicken-users] Rational numbers not working as expected |
Date: | Wed, 6 Mar 2013 14:12:44 -1000 |
Hi Nick,
You probably need the numbers egg: http://wiki.call-cc.org/egg/numbers
On Wed, 6 Mar 2013 13:58:48 -1000 Nick Vaughn <address@hidden> wrote:
> I'm having fun learning scheme using chicken. Looking at the
> manual, I see that there is deviation from the R5RS standard in
> that numerator and denominator procedures cannot be applied to
> inexact numbers. But I can't figure out how to make an exact
> rational. Tried (/ 6 4) and 6/4, but neither works.
>...
$ chicken-install numbers
$ csi
#;1> (use numbers)
...
Best wishes.
Mario
--
http://parenteses.org/mario
[Prev in Thread] | Current Thread | [Next in Thread] |