CS212 Handouts
Swindle Quick Reference

Swindle is an extension to the Scheme language that adds object oriented and typing features.  The features used for CS212 are listed below -- more will be added as you learn them. Consult the Scheme Quick Reference for inquiries about the Scheme language. If you find any mistakes or things that need to be changed/added in this handout, send a message to Brandon.


Notation

Notation used in this handout:


Types

By convention, all types begin with a "<" and end with a ">". There is a hierarchy of types, with various mechanisms for user defined classes. Swindle provides many built in types, to handle numbers, strings, collections of objects, and more:

Note: the types under <primitive> represent Scheme's primitive types, many of them will not be used.


Class Special Forms


Other Special Forms


Additional Functions


Streams


home.gif (1300 bytes)
Last update: 01/19/00 11:35 PM by BRB
Written by Brandon Bray and Eli Barzilay