[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reply to msg by ALAN about PROG
- To: common-lisp at SU-AI
- Subject: Reply to msg by ALAN about PROG
- From: Guy.Steele at CMU-10A
- Date: Sun, 19 Sep 1982 17:22:00 -0000
Have you considered that instead of:
(defmacro prog (vars &rest body)
`(let ,vars (block nil (tagbody ,@body))))
We might actually want:
(defmacro prog (vars &rest body)
`(block nil (let ,vars (tagbody ,@body))))
The question being what does (prog ((a (return))) ...) mean?
That is a good question. I did it the other way because I didn't
want (RESTART) to flush the variable bindings. Obviously what
we do about RESTART will affect this.