What is the most ergonomic library to diff data structures in a test suite these days?
Haskell Community [Unofficial]
April 28, 2026
At work, we have a similar problem. Because it’s for tests only, and performance isn’t an issue, we’ve been printing the line-diffs of pretty-printed data structures. This is the same approach that hedgehog uses.
Janky? Yes. Easy? Also yes.
Discussion in the ATmosphere