Computer Science Fundamentals (CS153 2004S)

Homework 4: Higher-Order Vector Procedures

Summary: In this assignment, you will develop a library of higher-order procedures that use vectors as their primary data type.

Key Topical Goals: Recursion, Documentation, Higher-Order Procedures, Vectors

Assigned: Wednesday, 18 February 2004

Due: 10:00 a..m, Wednesday, 25 February 2004


Most of the higher-order procedures we've considered limit their primary parameters and return values to procedures or lists. However, there are many patterns we have seen for using vectors. It therefore behooves us to write a library of higher-order procedures that operate on vectors (either by applying a procedure directly to the vector or by returning procedures that might be applied to vectors).

Develop a library of vector-based higher-order procedures. Your library should certainly include map! and insert-left!. It is up to you to decide what other procedures should be included.


I will grade your assignment on a number of criteria. The most important criteria are:



Tuesday, 17 February 2004 [Samuel A. Rebelsky]


Disclaimer: 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 Fri May 7 09:44:07 2004.
The source to the document was last modified on Tue Feb 17 14:45:09 2004.
This document may be found at

You may wish to validate this document's HTML ; Valid CSS! ; Check with Bobby

Samuel A. Rebelsky,