[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LET macro & fsubr
- To: (BUG LISP) at MIT-MC
- Subject: LET macro & fsubr
- From: RLB at MIT-MC (Richard L. Bryan)
- Date: Fri, 2 Jun 78 19:34:00 GMT
- Original-date: 2 JUN 1978 1534-EDT
Before it's too late, why not generalize it to allow atomic symbols in the
bind list. If these occur, bind to NIL in the interpreter, and in compiled
code, to the appropriate zero.
Thus, at macro level,
(let ((a 'a) b c) . body) becomes
((lambda (a b c) . body) 'a nil nil)
This is only a little harder than mapcar'ing 'CAR or 'CADR over the lists,
and the DO equivalent required might accomplish additional error checking.