Looking at this a little bit more, it appears pretty-print has its own 
mechanism for controlling reader abbreviations, in the form of 
pretty-print-abbreviate-read-macros. Oddly enough, setting this to #f still 
causes DrRacket to use abbreviations.

> (print-as-expression #f)
> (pretty-print-abbreviate-read-macros #f)
> (pretty-print '(1 ,2 3))
(1 (unquote 2) 3)
> (print '(1 ,2 3))
(1 ,2 3)

Anyway, I think it would be nice to have pretty-print respect the existing 
print-reader-abbreviations parameter, but since 
pretty-print-abbreviate-read-macros exists, that seems a little unclear.

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to