-;;; $Id: utils.lisp,v 1.5 2003/02/06 23:25:52 kevin Exp $
+;;; $Id: utils.lisp,v 1.6 2003/02/15 03:00:22 kevin Exp $
;;;;
;;;; General purpose utilities
(string-equal "keyword" (package-name (symbol-package x)))))
(defun list-to-spaced-string (list)
- (when (consp list)
- (format nil "~A~{ ~A~}" (first list) (rest list))))
+ (if (consp list)
+ (format nil "~A~{ ~A~}" (first list) (rest list))
+ ""))
(defun indent-spaces (n &optional (stream *standard-output*))
"Indent n*2 spaces to output stream"