All Manuals > LispWorks® User Guide and Reference Manual > 37 The HCL Package

*load-fasl-or-lisp-file* Variable

Summary

Controls the behavior of load for untyped pathnames.

Package

hcl

Initial Value

:load-fasl

Description

The variable *load-fasl-or-lisp-file* determines whether (load "foo") should load the binary file (foo.ofasl, foo.ufasl, foo.64xfasl etc, depending on platform) or foo.lisp, when both exist. It may take the following values:

:load-newer
If the fasl is out-of-date, the lisp file is loaded, and a warning message is output in verbose mode.
:load-newer-no-warn

Like :load-newer, but without the warning.

:load-fasl
Always choose fasl files in preference to lisp files, but when verbose, warn if the lisp file is newer.
:load-fasl-no-warn

Like :load-fasl, but without the warning.

:load-lisp
Always choose lisp files in preference to fasl.
:recompile
If the fasl file is out-of-date or there is none, compile and load the new fasl.
:maybe-recompile

If the fasl is out-of-date, queries whether to load it, recompile and then load it, or load the lisp file.


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:35