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

9 Interactive Value Port

 (require mrlib/interactive-value-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.