17.05.2015 Views

zl:1 - FTP

zl:1 - FTP

zl:1 - FTP

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

295 list<br />

I<br />

list &rest args Function<br />

list constructs and returns a list of its arguments. Example:<br />

(list 3 4 'a (car '(b. c)) (+ 6 -2») => (3 4 a b 4)<br />

list could have been defmed by:<br />

(defun list (&rest args)<br />

(let «list (make-list (length args))))<br />

(do «1 list (cdr 1))<br />

(a args (cdr a)))<br />

«null a) 1 i st)<br />

(rp1aca 1 (car a)))))<br />

For a table of related items: See the section "Functions for Constructing<br />

Lists and Conses" in Symbolics Common Lisp: Language Concepts.<br />

list· &rest args Function<br />

list· is like list except that the last cons of the constructed list is "dotted."<br />

It must be given at least one argument. Example:<br />

This is like<br />

(list* 'a 'b 'c 'd) => (a be. d)<br />

(cons 'a (cons 'b (cons 'c 'd)))<br />

More examples:<br />

(list* 'a 'b) => (a . b)<br />

(list* 'a) => a<br />

For a table of related items: See the section "Functions for Constructing<br />

Lists and Conses" in Symbolics Common Lisp: Language Concepts.<br />

list·-in-area area-number &rest args Function<br />

list·-in-area is exactly the same as list· except that it takes an extra argument,<br />

an area number, and creates the list in that area. See the section<br />

"Areas" in Internals, Processes, and Storage Management.<br />

list·-in-area is a Symbolics extension to Common Lisp.<br />

For a table of related items: See the section "Functions for Constructing<br />

Lists and Conses" in Symbolics Common Lisp: Language Concepts.<br />

math:list-2d-array array Function<br />

Returns a list of lists containing the values in array, which must be a twodimensional<br />

array. There is one element for each row; each element is a<br />

list of the values in that row.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!