Held: Monday, 27 October 2003
Summary: Today we consider vectors, which serve as alternates to lists. Vectors differ from lists in three primary ways: vectors have fixed size, vectors are indexed, and vectors are mutable.
(vector val1 ... valn): Create a vector
(make-vector length val): Make a vector of specified length, with duplicates of val as the contents.
(vector-ref vector position): Extract a value from a vector.
(vector-set! vector position newvalue): Change an element of a vector.
list->vectorfrom the reading.
do more than one thing in sequence.
(begin expression-1 expression-2 ... expression-n)
display, that have side effects.
Thursday, 28 August 2003 [Samuel A. Rebelsky]
I usually create these pages
on the fly, which means that I rarely
proofread them and they may contain bad grammar and incorrect details.
It also means that I tend to update them regularly (see the history for
more details). Feel free to contact me with any suggestions for changes.
This document was generated by
Siteweaver on Tue Dec 9 13:59:49 2003.
The source to the document was last modified on Mon Sep 1 13:30:51 2003.
This document may be found at