[plt-scheme] toString equivalent

From: Dave Gurnell (d.j.gurnell at gmail.com)
Date: Sat Aug 9 09:05:43 EDT 2008

Hi PLTers,

I want a way to override the default way objects of a certain class  
get printed. Is there any equivalent of Java's toString method in the  
PLT class system? Alternatively, can I attach a prop:custom-write to a  
class, or is there some way of customising the default printer?

Cheers,

-- Dave



Posted on the users mailing list.