Teachpacks for How to Design Programs
Rectangles
rectangle.ss
The teachpack
rectangle.ss
provides all the operations that
draw.ss
provides and the following one:
show : (list-of (list-of symbol)) -> void
which consumes a rectangle (a list of list of color symbols) and draws a rectangle onto an open canvas.
For legal color symbols, see the documentation for the
draw.ss
teachpack.