Open nevrome opened 1 year ago
Here's a library tackling the Show issue identified above: https://github.com/haskell-text/text-display
The text-display library offers the Display typeclass for developers to print a textual representation of datatypes that does not have to abide by the rules of the Show typeclass.
Ah cool. Do we have a specific list of data types in mind where we misuse the show class? Are we doing this wrong in every manual Show
instance?
A search for instance Show
in the code base reveals many manually defined instances. I systematically misused the typeclass.
renderJannoCompleteness
inPoseidon.CLI.Survey
defaultPackageReadOptions
as considered here