add pprint impl for struct types

This commit is contained in:
Kristin Rutenkolk 2024-10-13 22:08:01 +02:00
parent 21c547c469
commit 53a8435768

View file

@ -1780,6 +1780,7 @@
~(first (generate-deserialize coffi-typename 0)))
(defmethod serialize-into ~coffi-typename ~[(with-meta 'source-obj {:tag typename}) '_type 'segment '_]
~(generate-serialize coffi-typename (with-meta 'source-obj {:tag typename}) 0))
(defmethod clojure.pprint/simple-dispatch ~typename [~'obj] (clojure.pprint/simple-dispatch (into {} ~'obj)))
)
)
)