hyln9 / ikarus

Optimizing incremental native-code compiler for R6RS scheme. This is a forked repository.
https://launchpad.net/ikarus
Other
5 stars 0 forks source link

Provide a way to attach custom record printers #234

Open hyln9 opened 10 years ago

hyln9 commented 10 years ago

I am using a trivial object system (YASOS) for some prototyping and it would be helpful to print something useful. I define an "instance" record with a single uninteresting field.

How can I set the print routine for this particular record type descriptor?

I see that there is a way to attach a custom printer at the define-structure level, but this access does not appear to be exported.

Thanks much, -KenD

Launchpad Details: #LP301441 Abdulaziz Ghuloum - 2008-11-23 16:17:01 -0500