[plt-scheme] move-circle problem

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Thu Jan 12 07:48:52 EST 2006

arnuld fraser wrote:
> Hello everyone,
> 
> 
> #|
>  i will be as brief as i can in explainig the problem. this is the 
> original code of exercise-6.6.6 copied as it is from online version & 
> also from the printed book:
> 
> (draw-a-circle
>   (move-circle 10
>     (move-circle 10
>       (move-circle 10
>         (move-circle 10 ... a circle ...)))))
> 
> 
> ;; the last line says ... a circle....  without giving any hint what "a 
> circle" is . i think it is a printing mistake and it should be 
> "...a-circle...". even after changing it to "a-circle"  the function 
> does not work.

The ...a circle... stands for an expression of your choice that
produces a circle (as defined in Ex6.6.1).

E.g. (make-circle (make-posn 0 0) 20 'red) for a red circle
with center in origo and radius 20.

-- 
Jens Axel Søgaard




Posted on the users mailing list.