Re:A Programming Idiom You've Never Heard Of
by pjscott on Wednesday January 04, 2012 @01:46AM
(#3423099)
Common Lisp has with-open-file for reading and writing files. It works pretty much the same way as everything else in this thread, so I won't post example code, but you can see some here:
http://www.lispworks.com/documentation/HyperSpec/Body/m_w_op...