1module Language.Reflection.Errors
3import Language.Reflection
5data SourceLocation = FileLoc String Int
9 | CantUnify Bool TT TT Err (List (TTName, TT)) Int
10 -- Int is 'score' - how much we did unify
11 -- Bool indicates recoverability, True indicates more info may make
12 -- unification succeed
13 | InfiniteUnify TTName TT (List (TTName, TT))
14 | CantConvert TT TT (List (TTName, TT))
15 | UnifyScope TTName TTName TT (List (TTName, TT))
16 | CantInferType String
17 | NonFunctionType TT TT
19 | NoSuchVariable TTName
21 | NotInjective TT TT TT
23 | CantResolveAlts (List String)
28 | NonCollapsiblePostulate TTName
29 | AlreadyDefined TTName
32 | At SourceLocation Err
33 | Elaborating String TTName Err
34 | ProviderError String
36-- | Error reports are a list of report parts
37data ErrorReport = Message String
42-- Error reports become functions in List (String, TT) -> Err -> ErrorReport
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