Common Lisp the Language, 2nd Edition

Next: Constructs for Handling Up: Control Structure Previous: Structure Traversal and

# 7.10. Multiple Values

Ordinarily the result of calling a Lisp function is a single Lisp object. Sometimes, however, it is convenient for a function to compute several objects and return them. Common Lisp provides a mechanism for handling multiple values directly. This mechanism is cleaner and more efficient than the usual tricks involving returning a list of results or stashing results in global variables.

- Constructs for Handling Multiple Values
- Rules Governing the Passing of Multiple Values