Re: [racket-users] What is the purpose of "compact" code paths in print.c?

2020-05-28 Thread Thomas Dickerson
Perfect, thanks for insight =) -- 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

Re: [racket-users] What is the purpose of "compact" code paths in print.c?

2020-05-28 Thread Ryan Culpepper
Based on a quick look, I believe it has to do with serializing compiled code, including quoted values embedded in compiled code. Serializing compiled code uses the same entry point as the other printing functions. For example, try this: (write (compile '(quote (1 2 3 and compare the

[racket-users] What is the purpose of "compact" code paths in print.c?

2020-05-28 Thread Thomas Dickerson
I'm working on an enhancement for write/print/display, and thought I had it all implemented in io/print/main.rkt before realizing that code is only used for Racket-CS. Now I'm working on making equivalent changes in print.c for the traditional implementation, and that code is substantially