* install-library now takes all 11 arguments!
This commit is contained in:
parent
8226619438
commit
036292f3fc
BIN
src/ikarus.boot
BIN
src/ikarus.boot
Binary file not shown.
|
@ -65,14 +65,8 @@
|
|||
|
||||
(define label->binding-table (make-hash-table))
|
||||
|
||||
(define install-library
|
||||
(case-lambda
|
||||
; [(id name ver imp* vis* inv* exp-subst exp-env
|
||||
; visit-code invoke-code)
|
||||
; (install-library id name ver imp* vis* inv* exp-subst exp-env
|
||||
; visit-code invoke-code #t)]
|
||||
[(id name ver imp* vis* inv* exp-subst exp-env
|
||||
visit-code invoke-code visible?)
|
||||
(define (install-library id name ver imp* vis* inv*
|
||||
exp-subst exp-env visit-code invoke-code visible?)
|
||||
(let ([imp-lib* (map find-library-by-spec/die imp*)]
|
||||
[vis-lib* (map find-library-by-spec/die vis*)]
|
||||
[inv-lib* (map find-library-by-spec/die inv*)])
|
||||
|
@ -93,8 +87,7 @@
|
|||
[else binding])])
|
||||
(put-hash-table! label->binding-table label binding))))
|
||||
exp-env)
|
||||
((current-library-collection) lib)
|
||||
lib))]))
|
||||
((current-library-collection) lib))))
|
||||
|
||||
(define (imported-label->binding lab)
|
||||
(get-hash-table label->binding-table lab #f))
|
||||
|
|
Loading…
Reference in New Issue