io: show a string as a port name

This commit is contained in:
Matthew Flatt 2018-11-10 15:17:46 -07:00
parent d0fab4027b
commit 7fa31684e9

View File

@ -17,6 +17,8 @@
(symbol->print-string name #:for-type? #t)]
[(path? name) ; especially for input & output ports
(path->string name)]
[(string? name)
name]
[else #f])])
(cond
[name-str