@hackage / error-analyze

Parse ghc and cabal error messages and give their causes for easier resolution

Latest0.0.1

About

Metadata

  • Last updated , by JeanPhilippeMoresmau
  • License BSD-3-Clause
  • Categories Development
  • Maintained by: jp@moresmau.fr

  • Lottery factor: 0

Links

Installation

Readme

Parse ghc and cabal error messages and give their causes for easier resolution.

Just pass the error message to errorCauses and get a list of possible explanations/resolutions (ErrorCause)

Check the test suite for examples.

This functionality was originally developed in Java as part of EclipseFP but was rewritten in Haskell in the hope it can be useful to other IDE tools or GHC library wrappers.