;;;; Common Lisp pretty printer definitions that need to be on the ;;;; host ;;;; This software is part of the SBCL system. See the README file for ;;;; more information. ;;;; ;;;; This software is derived from the CMU CL system, which was ;;;; written at Carnegie Mellon University and released into the ;;;; public domain. The software is in the public domain and is ;;;; provided with absolutely no warranty. See the COPYING and CREDITS ;;;; files for more information. (in-package "SB!PRETTY") (def!struct (pprint-dispatch-table (:copier nil)) ;; A list of all the entries (except for CONS entries below) in highest ;; to lowest priority. (entries nil :type list) ;; A hash table mapping things to entries for type specifiers of the ;; form (CONS (MEMBER )). If the type specifier is of this form, ;; we put it in this hash table instead of the regular entries table. (cons-entries (make-hash-table :test 'eql))) (def!method print-object ((table pprint-dispatch-table) stream) (print-unreadable-object (table stream :type t :identity t)))