Computer Science 60
Principles of Computer Science
Lecture Demonstrations, Spring 2008
Scheme module - first three weeks
- Download Dr. Scheme from the DrScheme website
- Note on setting up DrScheme:
- When you start DrScheme, you will need to
set the particular language it uses - it will be one of the many "dialects" of Scheme.
- Under the "Language" menu, select "Choose Language...," and then
- Under "PLT," choose Pretty Big.
- After that, hit Run and you're ready to go!
- Sampler of Scheme Expressions and Function Definitions sampler.scm (by Prof. Keller)
- A
Scheme quick-reference card (Prof. Keller)
- PLT DrScheme: Programming Environment Manual
- Scheme Manual (on-line version, journal version)
- Tester code Load this into your program to create tests in plain source code.
(Using the built-in test facility of Dr. Scheme is not recommended, as it will make your source file not readable as test.
- Formatting your code! An example of conscientious scheme style (facFormat.jpg)
- factors.scm (from lecture 1)