s/display/write-string

This commit is contained in:
Alex Shinn 2017-03-26 22:54:21 +09:00
parent 30486cb6b6
commit fad7662d83

View file

@ -89,7 +89,7 @@
(let ((ch (read-char in)))
(cond
((not (eof-object? ch))
(display
(write-string
(if (and (not fold?) (eqv? ch #\x03A3))
(let ((ch2 (peek-char in)))
(if (or (eof-object? ch2)
@ -108,7 +108,7 @@
(lambda (out)
(string-for-each
(lambda (ch)
(display (if (memv ch '(#\x03C2 #\x03C3))
(write-string (if (memv ch '(#\x03C2 #\x03C3))
#\x03A3
(or (char-get-special-case ch 3)
(char-upcase ch)))