|
From: Nikodemus S. <nik...@ra...> - 2010-08-31 17:50:04
|
On 27 July 2010 13:48, James Fleming <li...@el...> wrote: >> Isn't 'require equivalent to asdf:load-system in sbcl? Yes and no. See: http://www.sbcl.org/manual/#Customization-Hooks-for-Users SBCL itself does two things with REQUIRE: (1) Contrib modules are available using it. (2) After ASDF has been loaded, it delegates to ASDF:OOS 'LOAD-OP if the named module is known to ASDF. Over the last few years similarly customizable REQUIRE has been implemented by some other implementations as well. I would say that REQUIRE is an excellent tool for REPL work, and even for local scripting -- but using it in software ment to run on other people's systems is a bad idea. For the most part you should disregard the "deprecation" notes in CLHS: REQUIRE isn't going anywhere, and neither is REMOVE-IF-NOT. Really. Neither should you be afraid of using "implementation specific" functionality, unless you are writing a library intended to run on multiple implementations. Cheers, -- Nikodemus |