Skip to content

Commit

Permalink
Minor improvement to PRINT-HASH-TABLE.
Browse files Browse the repository at this point in the history
  • Loading branch information
vseloved committed Mar 4, 2013
1 parent 27fc09d commit 1b5fef3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions core/hash-table.lisp
Expand Up @@ -108,11 +108,12 @@ Hash table is initialized using the HASH-TABLE-INITARGS."
(print-hash-table k stream) (print-hash-table k stream)
(prin1 k stream)) (prin1 k stream))
(princ " " stream) (princ " " stream)
(when (listp v) (princ #\' stream)) (when (and v (listp v)) (princ #\' stream))
(if (typep v 'hash-table) (if (typep v 'hash-table)
(print-hash-table v stream) (print-hash-table v stream)
(prin1 v stream))) (prin1 v stream)))
ht) ht)
(pprint-indent :block 1 stream) (pprint-indent :block 1 stream)
(pprint-newline :mandatory stream) (pprint-newline :mandatory stream)
(format stream "}~%")))) (princ "} " stream)))
ht)
2 changes: 1 addition & 1 deletion rutils.asd
Expand Up @@ -6,7 +6,7 @@


(defsystem #:rutils (defsystem #:rutils
:name "Reasonable utilities" :name "Reasonable utilities"
:version "2.6.2" :version "2.6.3"
:maintainer "Vsevolod Dyomkin <vseloved@gmail.com>" :maintainer "Vsevolod Dyomkin <vseloved@gmail.com>"
:licence "3-clause MIT licence" :licence "3-clause MIT licence"
:description "A reasonable collection of basic utilities for syntactic :description "A reasonable collection of basic utilities for syntactic
Expand Down

0 comments on commit 1b5fef3

Please sign in to comment.