[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
With-Open-File :if-does-not-exist nil
- To: Common-Lisp@SU-AI.ARPA
- Subject: With-Open-File :if-does-not-exist nil
- From: Rob MacLachlan <RAM@CMU-CS-C.ARPA>
- Date: Mon, 17 Jun 1985 15:39:00 -0000
- Comment: Remailed after delay caused by network problem.
What should be done in With-Open-File if open returns NIL as a
consequence of a :if-does-not-exist or :if-exists or :probe keyword?
Our current implementation simply binds the result, whatever it is, to
the variable. It has been suggested that it would be better to not
evaluate the body in this case. I have my doubts about this, but the
current implementation also has problems, since it will attempt to
close NIL when the body is exited.
Rob