Next: , Previous: multiple-value-call, Up: Data and Control Flow


multiple-value-list (Macro)

Syntax:
— Macro: multiple-value-list form list
Arguments and Values:

form—a form; evaluated as described below.

list—a list of the values returned by form.

Description:

multiple-value-list evaluates form and creates a list of the multiple values2 it returns.

Examples:
 (multiple-value-list (floor -3 4))  (-1 1)
See Also:

values-list, multiple-value-call

Notes:

multiple-value-list and values-list are inverses of each other.

 (multiple-value-list form) ≡ (multiple-value-call #'list form)