1{-# OPTIONS_GHC -Wall #-}
2{-# LANGUAGE OverloadedStrings #-}
10import qualified Type.Error
11import qualified Reporting.Error.Canonicalize as Canonicalize
12import qualified Reporting.Error.Docs as Docs
13import qualified Reporting.Error.Main as Main
14import qualified Reporting.Error.Pattern as Pattern
15import qualified Reporting.Error.Syntax as Syntax
16import qualified Reporting.Error.Type as Type
17import qualified Reporting.Render.Code as Code
18import qualified Reporting.Report as Report
27 | Canonicalize Canonicalize.Error
30 | Pattern [Pattern.Error]
38toReports :: Code.Source -> Type.Error.Localizer -> Error -> [Report.Report]
39toReports source localizer err =
42 [Syntax.toReport source syntaxError]
44 Canonicalize canonicalizeError ->
45 [Canonicalize.toReport source canonicalizeError]
48 map (Type.toReport source localizer) typeErrors
51 [Main.toReport source mainError]
53 Pattern patternErrors ->
54 map (Pattern.toReport source) patternErrors
57 [Docs.toReport source docsError]
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list