* Added a printer to the library rtd.
This commit is contained in:
parent
2ec3a6da7c
commit
e58710865c
BIN
src/ikarus.boot
BIN
src/ikarus.boot
Binary file not shown.
|
@ -587,5 +587,15 @@
|
|||
(primitive-set! 'imported-loc->library lm:imported-loc->library)
|
||||
(primitive-set! 'invoke-library lm:invoke-library)
|
||||
(primitive-set! 'current-library-collection lm:current-library-collection)
|
||||
(primitive-set! 'install-library lm:install-library))
|
||||
(primitive-set! 'install-library lm:install-library)
|
||||
((record-field-mutator (record-type-descriptor (type-descriptor library)) 'printer)
|
||||
(type-descriptor library)
|
||||
(lambda (x p)
|
||||
(unless (library? x)
|
||||
(error 'record-type-printer "not a library"))
|
||||
(display
|
||||
(format "#<library ~s>" (append (library-name x) (library-ver x)))
|
||||
p)))
|
||||
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue