pconvert-prop.ss: Converted Printing Property
To load: (require (lib "pconvert-prop.ss"))
prop:print-convert-constructor-name
PROPERTY
(print-convert-named-constructor?
v
)
PROCEDURE
(print-convert-constructor-name
v
)
PROCEDURE
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 30), 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.