I would like Guile to print structure objects in a more verbose way.
Currently, they print as something like #<struct 80c8910> but it would
be nice if that could be customized, especially since records are
implemented with structs.
How could this be done? I suppose that the vtable of a structure is a
natural place for this, if I only could figure out how this all works.
Without understanding vtables I would simply use the property list of
the structure layout symbol and put a 'struct-printer procedure there.
What do you say?