3module IRTS.CodegenCommon where
8import Control.Exception
9import System.Environment
11data DbgLevel = NONE | DEBUG | TRACE deriving Eq
12data OutputType = Raw | Object | Executable deriving (Eq, Show)
14environment :: String -> IO (Maybe String)
15environment x = Control.Exception.catch (do e <- getEnv x
17#if MIN_VERSION_base(4,0,0)
18 (\y-> do return (y::SomeException); return Nothing)
20#if !MIN_VERSION_base(4,0,0)
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