Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defun kotlin-with-open-file (filespec options body)
- (let ((stream (apply #'open filespec options)))
- (unwind-protect
- (funcall body stream)
- (close stream))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement