HORIZON HASKELLDocslts/ghc-10.0.xfc4e5982026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Modulecabal-install-3.18.1.0Haskell2010

Distribution.Client.Errors.Parser

  • 4 types
  • 13 values
datadata ProjectFileSource
#
Instances5Eq, Ord, Show, Generic, Rep
valuerenderParseErrorGeneral
  1. :: String

    What we were parsing when the error occurred.

  2. -> Maybe String

    A simpler/shorter header to display when displaying each error (normally a filepath)

  3. -> Maybe String

    Provenance, used to print additional context about what file failed (used to print the import path of a project file which failed to parse)

  4. -> (Position -> [String])

    Extra information to render based on the position

  5. -> [PError]
  6. -> [PWarning]
  7. -> String
#

A generic rendering function which can render from many sources.