interactive-value-port.ss: Interactive Value Port
To load: (require (lib "interactive-value-port.ss" "mrlib"))
(set-interactive-display-handler port) PROCEDURE
Sets the port-display-handler for the given port so
that when it encounters these values:
exact, real, non-integral numbers
syntax objects
it uses write-special to send snips to the port,
instead of those values. Otherwise, it behaves like the
default port-display-handler.
In order to show values embedded in lists and other compound object, it uses pretty-print.
(set-interactive-write-handler port) PROCEDURE
Same as set-interactive-display-handler, except that
it sets the port-print-handler.
(set-interactive-print-handler port) PROCEDURE
Same as set-interactive-display-handler, except that
it sets the port-display-handler.