[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
REQUIRE
The Vax version of Common Lisp also evaluates a REQUIRE form seen at
top-level when compiling, but the action taken is different from
(EVAL-WHEN (COMPILE) (REQUIRE ...)), since REQUIRE will try to do
COMPILE-FILE's (with :OUTPUT-FILE NIL) on the files constituting
the module if it isn't already on the provided list. There's a
similar list for modules already compiled (but not loaded). The
reasoning is that one wants to avoid altering the lisp environment,
since the normal use is to get macro definitions and special
proclamations for the compiler. If one really needs functions defined
in the lisp, the required functions will need EVAL-WHENs around
them, or you can put the EVAL-WHEN around the REQUIRE.
---Walter
-------