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.

NORMADVeval[car[r];p2]r = cdr[r]go[M~lRET return[eval[cadar[r];p2] 1GOt2 = eval[cadar[r];p2]sear~h[~r;h[[ j];eq[car[ jl;t2l;~[[jl;setq~~;~~~~~~A[[ j1;errorIlgo[~IJlselect[q; (ql,eL); (q2,e2);. . .; (qn,en);el: special formThe qits in select are evaluated in sequence from left toright until one is found such thatand the value of select is the value of the corresponding el.If no such qi is found the value of select is that of e.9.3 Further Functionsrplaca[x;y] : machine languageThis pseudo-function replaces the address part of thefirst argument x by the second argument y. 1.e. y is storedin the address part of the location pointed to by the firstargument. The value of rplaca is NIL.rplacd[x;y]: machine languageThis pseudo-function replaces the decrement part of thefirst argument x by the second argument y. 1.e. y is stored inthe decrement part of the location pointed to by the first ar-gument.The value of rplacd is NIL.

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

Saved successfully!

Ooh no, something went wrong!