Teachpacks to accompany Picturing Programs

The current version of the textbook relies on two teachpacks (function libraries) that aren't included in the standard download from drscheme.org: tiles (for rotating, reflecting, and combining pictures) and sb-world (for interactive animations). How you get these depends, unfortunately, on what version of DrScheme you have.

DrScheme version 4.2.2 or 4.2.3

  1. Start DrScheme.
  2. From the Language menu, Choose Language... and select "Module" (which is probably the first language in the menu). (The line
    #lang scheme
    should appear in the Definitions window; don't worry about this.)
  3. In the Interactions pane, type
    (require (planet sbloch/tiles))
    and hit the ENTER key. You should see some messages at the bottom of the screen about downloading and installing. This may take several minutes. Eventually you should see a message in the Interactions pane saying
    Wrote file "tiles.ss" to installed-teachpacks directory
  4. Repeat the previous step with
    (require (planet sbloch/sb-world))
  5. From the Language menu, Choose Language... and select "How to Design Programs", "Beginning Student" language. (The #lang scheme may disappear; don't worry about this.)
  6. From the Language menu, Add Teachpack..., select "tiles.ss" from the "User-installed teachpacks" list, and click "OK".
  7. Repeat the previous step with "sb-world.ss".
  8. Click the "Run" button near the top right corner of the window. You should see the message
    Language: Beginning Student custom...
    Teachpacks: tiles.ss and sb-world.ss.
    in the Interactions pane.


DrScheme version 4.2 or 4.2.1

  1. Start DrScheme.
  2. From the Language menu, Choose Language... and select "Module" (which is probably the first language in the menu). (The line
    #lang scheme
    should appear in the Definitions window; don't worry about this.)
  3. In the Interactions pane, type
    (require (planet "install.ss" ("sbloch" "tiles.plt" 1 13)))
    and hit the ENTER key. You should see some messages at the bottom of the screen about downloading and installing. This may take several minutes. Eventually you should see a message in the Interactions pane saying
    Wrote file "tiles.ss" to installed-teachpacks directory
  4. Repeat the previous step with
    (require (planet "install.ss" ("sbloch" "sb-world.plt" 1 5)))
  5. From the Language menu, Choose Language... and select "How to Design Programs", "Beginning Student" language. (The #lang scheme may disappear; don't worry about this.)
  6. From the Language menu, Add Teachpack..., select "tiles.ss" from the "User-installed teachpacks" list, and click "OK".
  7. Repeat the previous step with "sb-world.ss".
  8. Click the "Run" button near the top right corner of the window. You should see the message
    Language: Beginning Student custom...
    Teachpacks: tiles.ss and sb-world.ss.
    in the Interactions pane.


DrScheme version 4.1.2 through 4.1.5

  1. Start DrScheme.
  2. From the Language menu, Choose Language... and select "Module" (which is probably the first language in the menu). (The line
    #lang scheme
    should appear in the Definitions window; don't worry about this.)
  3. In the Interactions pane, type
    (require (planet "install.ss" ("sbloch" "tiles.plt" 1 (= 13))))
    and hit the ENTER key. It may take several minutes to download and install; you can tell that the computer is still working on it by the flashing green recycling logo in the lower-right corner of the window. about downloading and installing. This may take several minutes. Eventually you should see a message in the Interactions pane saying
    Wrote file "tiles.ss" to installed-teachpacks directory
  4. Repeat the previous step with
    (require (planet "install.ss" ("sbloch" "sb-world.plt" 1 (= 5))))
  5. From the Language menu, Choose Language... and select "How to Design Programs", "Beginning Student" language. (The #lang scheme may disappear; don't worry about this.)
  6. From the Language menu, Add Teachpack..., select "tiles.ss" from the "User-installed teachpacks" list, and click "OK".
  7. Repeat the previous step with "sb-world.ss".
  8. Click the "Run" button near the top right corner of the window. You should see the message
    Language: Beginning Student custom...
    Teachpacks: tiles.ss and sb-world.ss.
    in the Interactions pane.