Thanks Ryan!
On Thursday, September 3, 2020 at 5:47:50 AM UTC-4 rmculp...@gmail.com
wrote:
> The Racket printer uses a separate property to determine whether a struct
> is quotable. If you add
>
> #:property prop:custom-print-quotable 'never
>
> to the declarations of Int2 and Prim2, your pr
The Racket printer uses a separate property to determine whether a struct
is quotable. If you add
#:property prop:custom-print-quotable 'never
to the declarations of Int2 and Prim2, your program should produce the
output you expect. I'll add a note to the docs for
make-constructor-style-printer
I'm seeing some bad behavior from make-constructor-style-printer when
there are lists mixed in with the structs. It seems to switch from print
mode to
write mode when going under a list. Whereas the default printer for
transparent structs gets this right. The following program demonstrates the
d
3 matches
Mail list logo