6read_vec : Eff (p ** Vect p Int) [STDIO]
7read_vec = do putStr "Number (-1 when done): "
8 case run (parseNumber (trim !getStr)) of
9 Nothing => do putStrLn "Input error"
11 Just v => if (v /= -1)
12 then do (_ ** xs) <- read_vec
16 parseNumber : String -> Eff Int [EXCEPTION String]
18 = if all (\x => isDigit x || x == '-') (unpack str)
20 else raise "Not a number"
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