Comp 200
Using a Teachpack

Here are instructions for using the teachpack famTree-util.ss. (You can likely figure this all out on your own, playing with menus.)

"Using the teachpack" just means getting DrScheme to recognize the functions make-child, child-name, FamTree?, etc.

  1. To use the teachpack on owlnet:
    1. From DrScheme, Select Language:Add Teachpack...
    2. You'll need to navigate to the folder /home/comp200/famTree-util.ss
    3. The next time you press "execute", you can use the new functions. (You'll see a confirmation that the teachpack is loaded in the interaction window.)
  2. To use it on your home computer: First you need to move that file, /home/comp200/famTree-util.ss, to your own computer. Then you select Language:Add Teachpack... as above, of course choosing the file you just transferred.

    To transfer a file, you'll need to use some program like ws_ftp or something like that. (This varies from machine to machine.) Alternately, you browse the file and copy/paste it into a file on your home computer.

By the way, feel free to look at the file directly (open it in drscheme, or your favorite text editor); it's all code you can understand.