[plt-dev] Default syntax printer

From: Jakub Piotr Cłapa (jpc-ml at zenburn.net)
Date: Sat Aug 8 08:44:40 EDT 2009

On 8/5/09 9:16 PM, Carl Eastlund wrote:
> Is there any chance we can change the default printer to show the
> syntax->datum of syntax objects?  Instead of #<syntax>  in error
> messages, it would be much more helpful to see something like #'(foo
> x) or #<syntax:(foo x)>.  Even the error printer, which cuts off at a
> certain point with "...", would be preferable to the current total
> opacity.

I had a similar request for handling bytes printing. I have a function 
for formatting bytes as nice strings of hex digits but I don't know of 
any way to hook it up to the default printer.

Jakub Piotr Cłapa

Posted on the dev mailing list.