diff options
Diffstat (limited to 'qp.scm')
-rwxr-xr-x[-rw-r--r--] | qp.scm | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -103,7 +103,9 @@ (display #\") ((lambda (ans) (display #\") ans) (+ 2 (qp-string obj (- room 2))))) - ((symbol? obj) (qp-string (symbol->string obj) room)) + ((symbol? obj) + (display obj) + (string-length (symbol->string obj))) ((input-port? obj) (display "#[input]") 8) ((output-port? obj) (display "#[output]") 9) ((procedure? obj) (display "#[proc]") 7) @@ -132,8 +134,7 @@ (lambda objs (cond ((not *qp-width*) - (for-each (lambda (x) (write x) (display #\space)) objs) - (newline)) + (for-each (lambda (x) (write x) (display #\space)) objs)) ((= 0 *qp-width*) (for-each (lambda (x) (if (procedure? x) (display "#[proc]") (write x)) |