#
Chapter 30
`pconvert-prop.ss`: Converted Printing Property

To load: `(require (lib "pconvert-prop.ss"))`

`prop:print-convert-constructor-name` P R O P E R T Y

`(print-convert-named-constructor?``` `v``)` P R O C E D U R E

`(print-convert-constructor-name``` `v``)` P R O C E D U R E

The `prop:print-convert-constructor-name` property can be given a symbol value for a structure type. In that case, for constructor-style print conversion via `print-convert` (see section 29), instances of the structure are shown using the symbol as the constructor name. Otherwise, the constructor name is determined by prefixing `make-` onto the result of `object-name`.

The `print-convert-named-constructor?` predicate recognizes instances of structure types that have the `prop:print-convert-constructor-name` property, and `print-convert-constructor-name` extracts the property value.