Opens a file in a binary format that can be used to dump objects.
hcl
with-output-to-fasl-file (fasl-stream-var pathname &key overwrite dump-standard-objects delete-on-error) &body body => nil
fasl-stream-var⇩ |
A variable. |
pathname⇩ |
A pathname designator. |
overwrite⇩ |
A boolean. |
dump-standard-objects⇩ | |
A boolean. | |
delete-on-error⇩ |
A boolean. |
body⇩ |
Lisp forms that call dump-form. |
The macro with-output-to-fasl-file
helps to dump forms to a file in a binary format, which can then be loaded using load-data-file.
with-output-to-fasl-file
binds fasl-stream-var to an opaque structure associated with pathname. Inside body, dump-form can be used to dump individual forms to the file.
See dump-forms-to-file for a description of how overwrite, delete-on-error and dump-standard-objects are used.
A fasl file created using with-output-to-fasl-file
must be loaded only by load-data-file, and not by load.
LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:35