I recommend using make-constructor-style-printer 
which automates a lot of the fiddly indentation-handling you'd have to do 
On Sunday, August 16, 2020 at 1:48:50 PM UTC-7 jerem...@gmail.com wrote:

> Hi All,
> I'm looking into using Racket structs to represent abstract syntax trees.
> I've gotten as far as defining gen:custom-write properties, but have not
> yet figured out how to control indenting. Also, I'm not sure I'm just 
> calling
> write-string, write, and newline in my gen:custom-write methods, which I
> suspect is not exactly correct.
> Are there some good up-to-date examples of this that I could look at?
> Thanks,
> Jeremy

You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

Reply via email to