X-Git-Url: https://git.distorted.org.uk/~mdw/runlisp/blobdiff_plain/2d4554ca5ee1304e67ddd29b00402993ca07fcd2..2b881c533473e8a972a68f88cb0f54d5cfbc2d04:/eval.lisp diff --git a/eval.lisp b/eval.lisp index 24cd107..de5da0e 100644 --- a/eval.lisp +++ b/eval.lisp @@ -37,7 +37,7 @@ (loop (let ((form (read in nil token))) (when (eq form token) (return)) (funcall func form))))) - (print-form (form) + (prin1-form (form) (format t "~@[~{~S~^ ~}~%~]" (multiple-value-list (eval form))))) (loop (let ((arg (pop args))) @@ -50,7 +50,7 @@ (foreach-form #'eval rest)) list)) (#\? (push (lambda () - (foreach-form #'print-form rest)) + (foreach-form #'prin1-form rest)) list)) (#\< (push (lambda () (load rest))