[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- To: (BUG LISP) at MIT-AI You see the problem with DISPLACE is that suppose you do the following:
- Subject:
- From: ALAN@MIT-AI
- Date: Wed, 15 Jun 78 00:09:07 GMT
- Original-date: 06/14/78 20:09:07 EDT
(setq a '(q w e r))
(setq b 'cons)
(displace a b)
then the value of a is this list "(#73100 subr #13302)". Even better I can use DISPLACE
to change the printname, valuecell, propertylist etc. of a symbol! If we really
want this thing to help macro hackers, then the thing should check for
an atomic second arg and replace it with "(progn <thing>)". And in any case shouldn't
the first arg be checked for atomicness?