Commits

Moritz Heidkamp committed 9d8e98a

Remove outer parens in record printer

  • Participants
  • Parent commits d49c035

Comments (0)

Files changed (1)

File persistent-hash-map.scm

   (display "#<persistent-hash-map" out)
   (display " " out)
   (let ((s (with-output-to-string (lambda () (pp (map->alist m))))))
-    (display (substring s 0 (- (string-length s) 1)) out))
+    (display (substring s 1 (- (string-length s) 2)) out))
   (display ">" out))
 
 (define-record-printer (transient-hash-map m out)