supki / aeson-match-qq

Declarative JSON matchers
BSD 2-Clause "Simplified" License
5 stars 0 forks source link

Prettyprinter for `Error` #22

Closed supki closed 2 years ago

supki commented 2 years ago

I'm mostly using the library in hspec tests and there, legibility of failures really suffers when using the default Aeson.ToJSON instances for Error.

supki commented 2 years ago

It appears we already depend on pretty through haskell-src-exts, which won't be the first library I'd reach out for pretty printing but it will do.