[racket] trouble with draw.ss teachpack

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Sun Sep 19 16:55:34 EDT 2010

1. The draw teachpack should be used with the HtDP teaching languages only. 

I just did so and the following program runs just fine in Beginning Student Language. 

(start 100 100)
(draw-circle (make-posn 30 30) 10 'blue)
;; there's nothing else in the Def area 

2.  I recommend shunting the first two chapters in HtDP in favor of 

http://www.ccs.neu.edu/home/matthias/HtDP2e/index.html


On Sep 19, 2010, at 2:24 PM, Jay wrote:

> Hello,
>  
> I'm a complete newcomer to Racket. I've just begun working my way through HTDP, and have run into problems with exercise 6.2.1, which uses draw.ss. When I load the file, Racket complains when I make any reference to the "posn" struct (which is essential to all of the drawing tools), saying that it hasn't been defined. If I change tactics and try to start from the standard "beginner's" language (which does include the necessary "posn" definitions) and then copy over and run the declarations from draw.ss, that produces a "module not defined" error. I'd appreciate any guidance.
>  
> Thanks for your time!
>  
>  
> Jay
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100919/127a6dfc/attachment.html>

Posted on the users mailing list.