racket / scribble

Other
194 stars 90 forks source link

Should `output` and `outputable/c` also accept a generic interface? #338

Open dented42 opened 2 years ago

dented42 commented 2 years ago

in scribble/text the output function can deal with most/many common datatypes, and I believe that it would be useful if there was a gen:outputable interface that custom structs could conform to so that the user (or rather, me) doesn't have as much boilerplate to write when I want to output my own structure types over and over again.