Package: alexandria

Macro with-output-to-file

Lambda List

with-output-to-file ((stream-name file-name &rest args &key direction &allow-other-keys) &body body)

Details

Evaluate BODY with STREAM-NAME to an output stream on the file FILE-NAME. ARGS is sent as is to the call to OPEN except EXTERNAL-FORMAT,which is only sent to WITH-OPEN-FILE when it's not NIL.