mes: Remove copy of make-string.

* mes/module/mes/guile.mes (make-string): Remove copy.
This commit is contained in:
Jan Nieuwenhuizen 2018-11-14 08:19:01 +01:00
parent 614bfeb3b8
commit 0be3bea141
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -46,9 +46,6 @@
(else (error (format #f "not supported: handle-delim=~a" handle-delim))))
(cons c (loop (read-char port)))))))))
(define (make-string n . fill)
(list->string (apply make-list n fill)))
(define (object->string x . rest)
(with-output-to-string
(lambda () ((if (pair? rest) (car rest) write) x))))