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.

-ins t [x;y; z]: machine languageHere x is assumed to be an incomplete list of pairs((ul,vl), (u2,v2),. . ,(un9vn)), where the ud s are atomic andwhere some v's may be missing, The value of - inst is false ifz cannot be obtained as sublis[%;y] where r;?r is a completion ofx obtained by substituting appropriate pairs (u,v) for the unpairedelements (u). If z can be obtained in this way, inst[x;y;z] has as value the completed list x, The purpose ofinst is to determine whether z is a substitution instance ofthe expression y,sassoc[x;y; u] : machine languageThe function sassoc searches y, which is a list of lists,for a sublist whose first element is identical with x, Ifsuch a sublist is found, the value of sassoc is the sublistwith the first element removed. Otherwise the function u ofno arguments is taken as the value of sassoc,

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

Saved successfully!

Ooh no, something went wrong!