What is the most ergonomic library to diff data structures in a test suite these days?
Haskell Community [Unofficial]
April 29, 2026
For my own test framework, I pretty print and then let the diff stuff highlight: karya/Util/Test/Testing.hs at work · elaforge/karya · GitHub It’s simple and good enough almost all the time. For pretty print, I also have my own function, but it descends from ipprint: karya/Util/PPrint.hs at work · elaforge/karya · GitHub
I think I tried generic diff at some point, but concluded it was much work for little return.
Discussion in the ATmosphere