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.

maplist 344<br />

I<br />

maplist fen list &rest more-lists Function<br />

maplist applies fen to list and to successive sublists of that list rather than<br />

to successive elements as does mapcar.<br />

fen must take as many arguments as there are lists.<br />

maplist returns a list that accumulates the results of the successive calls<br />

to fen.<br />

Examples:<br />

(maplist #'append '(a bed) '(1 234))<br />

=> «A BCD 1 2 3 4) (B C02 3 4) (C 0 3 4) (0 4))<br />

(maplist #'(lambda (a-list) (cons 'twiddle a-list))<br />

'(blank dee dumb))<br />

=> «TWIDDLE BLANK DEE DUMB) (TWIDDLE DEE DUMB) (TWIDDLE DUMB))<br />

(maplist #'equal '("car" "house" "door" "barn")<br />

'('cat 'hat "door" "barn"))<br />

=> (NIL NIL T T)<br />

For a table of related items: See the section "Mapping Functions" in Symbolics<br />

Common Lisp: Language Concepts.<br />

mask-field bytes pee integer Function<br />

This is similar to ldb ("load byte"); however, the specified byte of integer is<br />

returned as a number in the position specified by bytespec in the returned<br />

word, instead of in position 0 as with ldb. integer must be an integer.<br />

bytespec is built using function byte with bit size and position arguments.<br />

Example:<br />

(mask-field (byte 6 3) #04567) => #0568<br />

For a table of related items: See the section "Summary of Byte Manipulation<br />

Functions" in Symbolics Common Lisp: Language Concepts.<br />

max number &rest more-numbers Function<br />

max returns the largest of its arguments. At least one argument is required.<br />

The arguments can be of any noncomplex numeric type. The<br />

result type is the type of the largest argument.<br />

Example:

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

Saved successfully!

Ooh no, something went wrong!