On 12/14/11 5:11 AM, Marijn wrote:
(gcd-rational 2/3 2/3 2/3)
2/3
(lcm-rational 2/3 2/3 2/3)
4/9

is that 4/9 the intended result?

No, I must've messed up the definition. Fortunately, Matthew did the right thing when he implemented lcm:

Welcome to Racket v5.2.0.6.
> (lcm 2/3 2/3 2/3)
2/3

David

_________________________________________________
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/dev

Reply via email to