1module SourceSyntax.Literal where
3import SourceSyntax.PrettyPrint
4import qualified Text.PrettyPrint as PP
6data Literal = IntNum Int
11 deriving (Eq, Ord, Show)
13instance Pretty Literal where
17 FloatNum n -> PP.double n
18 Chr c -> PP.quotes (PP.char c)
19 Str s -> PP.text (show s)
20 Boolean bool -> PP.text (show bool)
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