3 ms·
Common Lisp standard also strongly suggests this behavior for the :if-exist :supersede argument to #'open: "The existing file is superseded; that is, a new fil
by TeMPOraL 7y ago
Common Lisp standard also strongly suggests this behavior for the :if-exist :supersede argument to #'open:
"The existing file is superseded; that is, a new file with the same name as the old one is created. If possible, the implementation should not destroy the old file until the new stream is closed."
http://clhs.lisp.se/Body/f_open.htm http://clhs.lisp.se/Body/f_open.htm
I imagine they lifted this idea from some prior Lisps, which suggests it's a pretty old concept.