1{-# OPTIONS_GHC -Wall #-}
2{-# LANGUAGE OverloadedStrings #-}
13import qualified Data.Char as Char
14import qualified Data.Map as Map
16import qualified Data.Text as Text
17import Data.Text (Text)
29makeTuple :: Int -> Text
31 Text.pack ('#' : show size)
34isTuple :: Text -> Bool
36 Text.isPrefixOf "#" name
38 Text.all Char.isDigit (Text.drop 1 name)
47 Text.all isSymbol name
50isSymbol :: Char -> Bool
52 Map.member c validSymbols
55validSymbols :: Map.Map Char Char
63desymbol :: Text -> Text
65 Text.map (\c -> validSymbols ! c) name
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