dhall-lang / dhall-haskell

Maintainable configuration files
https://dhall-lang.org/
BSD 3-Clause "New" or "Revised" License
912 stars 213 forks source link

Refactor `dhall-toml` code #2548

Closed Gabriella439 closed 10 months ago

Gabriella439 commented 10 months ago

This is a (mostly) behavior-preserving refactor of the dhall-toml package since I was planning on working on #2509 and wanted to first refactor the code a bit more to my liking.

The only actual change is that the Show instance for CompilerError is now the derived one and I moved that logic to the displayException method.