Extra libraries found in $pkglibdir can now be imported directly.

For example, (import (streams)) just works!
This commit is contained in:
Abdulaziz Ghuloum
2007-11-18 22:46:00 -05:00
parent 61fe1ce007
commit a7680d723d
7 changed files with 23 additions and 10 deletions
+1 -2
View File
@@ -23,7 +23,7 @@
visit-library library-name library-version library-exists?
find-library-by-name install-library library-spec invoke-library
extend-library-subst! extend-library-env! current-library-expander
current-library-collection)
current-library-collection library-path)
(import (rnrs) (psyntax compat) (rnrs r5rs))
(define (make-collection)
@@ -76,7 +76,6 @@
'(".")
(lambda (x)
(if (and (list? x) (for-all string? x))
;(map values x)
(map (lambda (x) x) x)
(error 'library-path "not a list of strings" x)))))