Il giorno gio, 21/07/2022 alle 12.13 +0300, Munyoki Kilyungi ha scritto: > > Hi! Say I have a hashmap that has nested hashmaps > that I want to inspect. Is there a way to just > printing it out on my display in a > straight-forward way without having to loop inside > the key-value pairs? Printing a hashmap outputs > something like this: > > --8<---------------cut here---------------start------------->8--- > #<hash-table 7f56164e9340 2/31> > --8<---------------cut here---------------end--------------->8--- >
The Guile pretty printer doesn't support hashmaps I see 2 options 1) you convert your hashmap into an alist and print that 2) you extend the pretty printer to support hashmaps too and send a patch as for the 2nd option, I was suggested to do so myself, not so long ago but I couldn't bring myself to do that