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.

Defining Functions:The argument of define, x, is a lis-t of pairswhere each u is a name and each v is a A-expression or afunction, For each pair, define uses defl to make the EXPRon the association list for u point to vc The functiondefine puts things on at the front of the association list,The value of define is the list of uvs.The function deflist is usually used to tie the EXPR-searchrequired by define to the PRO-search in the program for -- defl.The argument of deflisl is a list of pairs. The functiondeflisl does a defl of each pair and has as value the list ofthe first element of each pair.Thus the functions deflist and -- deflisl carry out the pupposeof define by tying the PRO in ---- defl to EXPR and by carryingout the entire list of definitions (by the recursive functiondeflislj,

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

Saved successfully!

Ooh no, something went wrong!