[plt-scheme] HtDP Exercise 37.5.1

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Sun Nov 15 19:20:36 EST 2009

On Nov 15, 2009, at 3:24 PM, Gadfly wrote:

> Hi All --
> 
> How do picture fields work?  How does one assign a photo to a
> structure?


(define-struct building (location image))

(make-building "202 huntington" ... use Insert | Image .. here )


> Also, are there any pre-defined campuses available as teachpacks?

Nope, but if you want to produce some, go for it. In the new world of web mash ups, I'd add geocoding here: 

 http://www.ccs.neu.edu/home/matthias/107-f09/Assignments/8.html (problem 8.1)
 credit to Gregor Kiczales 


-- Matthias



Posted on the users mailing list.