[plt-scheme] Quick help with image.ss/universe.ss teachpacks

From: Paul Ojanen (engineer at alum.mit.edu)
Date: Wed Apr 28 16:17:37 EDT 2010

Try putting

 

(require 2htdp/image)

 

at the top of your file rather than "adding" the Teachpack.  I've been
wondering if the add-Teachpack process uses the old image library.

 

-Paul

 

  _____  

From: plt-scheme-bounces at list.cs.brown.edu
[mailto:plt-scheme-bounces at list.cs.brown.edu] On Behalf Of Jessica Sonday
Sent: Wednesday, April 28, 2010 4:06 PM
To: plt-scheme at list.cs.brown.edu
Subject: [plt-scheme] Quick help with image.ss/universe.ss teachpacks

 

All,

 

Sorry to bother with what is probably an easy fix, but I've been searching
for a few hours now on how to fix my issue. I have the latest version
(4.2.5) and cannot seem to get anything to rotate/crop, nor can I make
shapes like right-triangle. I have the image and universe
teachpacks/libraries added, and am using Beginning Student with List
Abbreviations as my Teaching Language. When I input something like

 

(rotate 45 (ellipse 60 20 "solid" "purple"))

 

I get

 

reference to an identifier before its definition: rotate

 

>From what I've read, these are defined in the 2htdp/image teachpack. Am I
missing something obvious?

 

Thank you very much for your time.

 

Jess

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100428/9b12c4a4/attachment.html>

Posted on the users mailing list.