(require mzlib/pconvert-prop) | package: pconvert-lib |
value
prop:print-converter : property?
procedure
(print-converter? v) → any
v : any/c
procedure
→ (any/c (any/c . -> . any/c) . -> . any/c) v : print-converter?
The print-converter? predicate recognizes instances of structure types that have the prop:print-converter property, and print-converter-proc extracts the property value.
value
prop:print-convert-constructor-name : property?
procedure
(print-convert-named-constructor? v) → any
v : any/c
procedure
(print-convert-constructor-name v) → any
v : print-convert-named-constructor?
The prop:print-converter property takes precedence over prop:print-convert-constructor-name. If neither is attached to a structure type, its instances are converted using a constructor name that is make- prefixed 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.