1module Reporting.Annotation where
3import Prelude hiding (map)
4import qualified Reporting.Region as R
11data Annotated annotation a
20 Annotated (R.Region, Maybe String) a
27at :: R.Position -> R.Position -> a -> Located a
29 A (R.Region start end) value
32merge :: Located a -> Located b -> value -> Located value
33merge (A region1 _) (A region2 _) value =
34 A (R.merge region1 region2) value
37sameAs :: Annotated info a -> b -> Annotated info b
38sameAs (A annotation _) value =
46map :: (a -> b) -> Annotated info a -> Annotated info b
47map f (A annotation value) =
48 A annotation (f value)
51drop :: Annotated info a -> a
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