1{-# LANGUAGE DeriveDataTypeable #-}
2module SourceSyntax.Literal where
5import SourceSyntax.PrettyPrint
6import qualified Text.PrettyPrint as PP
8data Literal = IntNum Int
13 deriving (Eq, Ord, Data, Typeable, Show)
15instance Pretty Literal where
19 FloatNum n -> PP.float n
20 Chr c -> PP.quotes (PP.char c)
21 Str s -> PP.text (show s)
22 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