Override printing for vectors

24 views
Skip to first unread message

TheMetaSchemer

unread,
Feb 5, 2023, 1:22:05 PM2/5/23
to Racket Users
Hi All,

I'm looking to find a way to override how vectors are printed in write/display/print (similar to using gen:custom-write for structs), as well as in the repl (including for DrRacket). 

So far I've tried overriding the port handlers for (current-output-port) and (current-error-port), but that does not seem to work recursively, and doesn't work in the Repl either. 

Thanks,

Anurag. 
Reply all
Reply to author
Forward
0 new messages