-(defun keyword-symbol? (x)
- "Returns T if object is a symbol in the keyword package"
- (and (symbolp x)
- (string-equal "keyword" (package-name (symbol-package x)))))
-
-(defun list-to-spaced-string (list)
- (format nil "~{~A~^ ~}" list))
-
-(defun print-n-chars (char n stream)
- (declare (fixnum n)
- (optimize (speed 3) (safety 0) (space 0)))
- (do ((i 0 (1+ i)))
- ((= i n) char)
- (declare (fixnum i))
- (write-char char stream)))
-
-(defun indent-spaces (n &optional (stream *standard-output*))
- "Indent n*2 spaces to output stream"
- (print-n-chars #\space (+ n n) stream))
-