Do not have (write) automatically output a newline

This commit is contained in:
Justin Ethier 2016-03-28 21:53:38 -04:00
parent 9f4991724e
commit 9052a0d2bd
3 changed files with 4 additions and 2 deletions

View file

@ -50,6 +50,7 @@
(cond
((not (eof-object? c))
(write c)
(newline)
(repl:next-line))
(else
(display "\n")

View file

@ -711,7 +711,7 @@ static object _Cyc_write(object x, FILE *port)
object Cyc_write(object x, FILE *port)
{object y = _Cyc_write(x, port);
fprintf(port, "\n");
//fprintf(port, "\n");
return y;}
object Cyc_write_char(void *data, object c, object port)

View file

@ -361,5 +361,6 @@
; TODO: use display, output without surrounding quotes
(write (list *num-passed* " tests passed with no errors"))
(display (list *num-passed* "tests passed with no errors"))
(newline)
;;