1module Type.PrettyPrint where
6data ParensWhen = Fn | App | Never
9class PrettyType a where
10 pretty :: ParensWhen -> a -> Doc
13commaSep :: [Doc] -> Doc
15 sep (punctuate comma docs)
18parensIf :: Bool -> Doc -> Doc
20 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