2module SourceSyntax.PrettyPrint where
5import SourceSyntax.Location
10instance Pretty a => Pretty (Located a) where
11 pretty (L _ _ e) = pretty e
13instance Pretty () where
16commaCat docs = cat (punctuate comma docs)
17commaSep docs = sep (punctuate comma docs)
19parensIf bool doc = if bool then parens doc else doc
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