Hacker News new | ask | show | jobs
by metageek 5719 days ago
That's true; we've already got special cases like WITH-OPEN-FILE.
1 comments

Actually, you already have something better than RAII in unwind-protect. Just create whatever macro you need on top of that (I'm pretty sure with-open-file is just a macro on top of unwind-protect, Siebel seems to agree in his chapter on files) and you're done.