On this page:
set-interactive-display-handler
set-interactive-write-handler
set-interactive-print-handler

9 Interactive Value Port

 (require mrlib/interactive-value-port)

procedure

(set-interactive-display-handler port)  void?

  port : output-port?
Sets port’s display handler (via port-display-handler) so that when it encounters these values:

it uses write-special to send snips to the port, instead of those values. Otherwise, it behaves like the default handler.

To show values embedded in lists and other compound object, it uses pretty-print.

procedure

(set-interactive-write-handler port)  void?

  port : output-port?

procedure

(set-interactive-print-handler port)  void?

  port : output-port?