Changeset 500
- Timestamp:
- Feb 7, 2004, 5:00:38 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/level-1/l1-files.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/level-1/l1-files.lisp
r499 r500 1171 1171 1172 1172 (defparameter *loading-modules* () "Internal. Prevents circularity") 1173 (defparameter *module-provider-functions* '(module-provide-search-path)) 1173 (defparameter *module-provider-functions* '(module-provide-search-path) 1174 "A list of functions called by REQUIRE to satisfy an unmet dependency. 1175 Each function receives a module name as a single argument; if the function knows how to load that module, it should do so, add the module's name as a string to *MODULES* (perhaps by calling PROVIDE) and return non-NIL." 1176 ) 1174 1177 1175 1178 (defun module-provide-search-path (module) … … 1200 1203 (unless (some (lambda (p) (funcall p module)) 1201 1204 *module-provider-functions*) 1202 (error " Don't know how to load ~A" module)))))1205 (error "Module ~A was not provided by any function on" module '*module-provider-functions*))))) 1203 1206 (values module 1204 1207 (set-difference *modules* original-modules))))
Note:
See TracChangeset
for help on using the changeset viewer.
