2module SourceSyntax.Helpers where
4import qualified Data.Char as Char
6brkt :: String -> String
7brkt s = "{ " ++ s ++ " }"
9isTuple :: String -> Bool
11 take 6 name == "_Tuple" && all Char.isDigit (drop 6 name)
16isSymbol :: Char -> Bool
18 Char.isSymbol c || elem c "+-/*=.$<>:&|^?%#@~!"
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