Fundamentals of CS I (CS151 2001S) : Reference

list: create a list

Parametersv1 ... vn, zero or more values
PurposeBuilds a list of those values.
ProducesA list.
PostconditionsThe result is a list. The i-1st element of the list is vi (e.g., the 3rd element of the list is v4).
> (list 'a 'b 'c)
(a b c)
> (list 1 1/2 3 -4)
(1 1/2 3 -4)
> (list 'a)
> (list)

Disclaimer: I usually create these pages on the fly. This means that they are rarely proofread and may contain bad grammar and incorrect details. It also means that I may update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.

This page was generated by Siteweaver on Thu Feb 22 05:48:05 2001.
This page may be found at
You may validate this page's HTML.
The source was last modified Fri Jan 26 00:01:44 2001.