7getArgs : IO (List String)
8getArgs = do n <- numArgs
12 numArgs = mkForeign (FFun "epic_numArgs" [] FInt)
14 getArg : Int -> IO String
15 getArg x = mkForeign (FFun "epic_getArg" [FInt] FString) x
17 ga' : List String -> Int -> Int -> IO (List String)
18 ga' acc i n = if (i == n) then (return $ rev acc) else
20 ga' (arg :: acc) (i+1) n
22getEnv : String -> IO String
23getEnv x = mkForeign (FFun "getenv" [FString] FString) x
26exit code = mkForeign (FFun "exit" [FInt] FUnit) code
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