《通链参考手册》


Function VALUES-LIST

●语法设定:

values-list list => element*

●参数和值:

list---a list.

elements---the elements of the list.

●详情:

Returns the elements of the list as multiple values[2].

●例子:

 (values-list nil) =>  <no values>
 (values-list '(1)) =>  1
 (values-list '(1 2)) =>  1, 2
 (values-list '(1 2 3)) =>  1, 2, 3

●受制于: 无。

●例外情况:

Should signal type-error if its argument is not a proper list.

●更多信息:

multiple-value-bind, multiple-value-list, multiple-values-limit, values

●说明:

 (values-list list) ==  (apply #'values list)

(equal x (multiple-value-list (values-list x))) returns true for all lists x.


◇首页 § ◎章节目录 § □内容索引 § ○符号索引 § △术语表 § ※设计草案