10.07.2015 Views

LISP I Programmer's Manual - Software Preservation Group

LISP I Programmer's Manual - Software Preservation Group

LISP I Programmer's Manual - Software Preservation Group

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.

9.2 Special Formsquote : machine language; special formThe value of a list beginning with QUOTE is always therest of the list. Note that QUOTE must be used in expressionsbeing evaluated whenever one wishes to avoid evaluating anitem--for example QUOTE,^) yields x itself rather than avalue assigned to X by some other means.cond[xl;x2; ...; x 1 : machine language; special form - nThe function cond has a variable number of arguments,each one of which is a pair of expressions of the formThe propositions are evaluated until one is found that is true.The expression corresponding to this proposition is evaluatedand taken as the value of the entire conditional.Except for its use with the compiler at least one of thepropositions of cond must be true or an error will occur. -label [ a; b 1 : machine language; special functionThe effect of label as the first element of an expressionis described in Section 4.3 of this manual.The function format has the value x. x is an atomic symbol,f is a list structure, and v is a list of variables occurringin f. The function format causes x and the variablesof v to become functions which are available to the APPLY operator.The following example of its use is taken from anearlier version of the programmer's manual.

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

Saved successfully!

Ooh no, something went wrong!