2 module Text.PrettyPrint.HughesPJ,
3 Sized(..), breakingSize, nestingSize,
7import Text.PrettyPrint.HughesPJ
9-- A rough notion of size for pretty printing various types.
13instance (Sized a, Sized b) => Sized (a, b) where
14 size (left, right) = 1 + size left + size right
16instance Sized a => Sized [a] where
19-- The maximum size before we break on to another line.
29instance Pretty () where
32instance Pretty a => Pretty [a] where
33 pretty l = foldr ($$) empty $ map pretty l
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