1{-# OPTIONS_GHC -Wall #-}
2module Reporting.Error.Syntax where
4import qualified Data.Aeson as Json
5import qualified Text.Parsec.Error as Parsec
7import qualified Reporting.Region as R
11 = Parse [Parsec.Message]
12 | InfixDuplicate String
13 | TypeWithoutDefinition String
14 | PortWithoutAnnotation String
15 | DuplicateValueDeclaration String
16 | DuplicateTypeDeclaration String
17 | DuplicateDefinition String
18 | UnboundTypeVar String String
23toString :: R.Region -> Error -> String
26 _ -> error "Syntax.toString" region
31toJson :: Error -> Json.Value
34 _ -> error "Syntax.toJson"
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