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