Add and use TERPRI.
authorOlof-Joachim Frahm <olof@macrolet.net>
Mon, 19 Aug 2013 23:32:01 +0000 (01:32 +0200)
committerOlof-Joachim Frahm <olof@macrolet.net>
Mon, 19 Aug 2013 23:32:01 +0000 (01:32 +0200)
src/print.lisp

index 8cb36bd..66d8b0a 100644 (file)
   (let ((*print-escape* nil))
     (write-to-string form)))
 
+(defun terpri ()
+  (write-char #\newline)
+  (values))
+
 (defun write-line (x)
   (write-string x)
-  (write-char #\newline)
+  (terpri)
   x)
 
 (defun warn (string)