The state of the REPL.
data ReplState
Constructors:
ReplState
:: CCDescription -> String -> [(String, String)] -> Int -> [String] -> [String] -> String -> String -> [String] -> [String] -> String -> String -> Int -> Bool -> Bool -> Bool -> Bool -> Bool -> String -> String -> FreeMode -> [CCOptionImpl] -> Bool -> Int -> [(String, (String, Handle))] -> ReplState
Fields:
compiler
:: CCDescription
usingOption
:: String
rcVars
:: [(String, String)]
verbose
:: Int
libPaths
:: [String]
importPaths
:: [String]
preludeName
:: String
currMod
:: String
addMods
:: [String]
letBinds
:: [String]
mainExpMod
:: String
prompt
:: String
timeOut
:: Int
showTime
:: Bool
withEcho
:: Bool
withShow
:: Bool
showBindings
:: Bool
safeExec
:: Bool
parseOpts
:: String
rtsArgs
:: String
freeMode
:: FreeMode
cmpOpts
:: [CCOptionImpl]
quit
:: Bool
exitStatus
:: Int
sourceguis
:: [(String, (String, Handle))]
initReplState
:: CCDescription -> IO ReplState
Initial state of REPL w.r.t. a compiler description
mainExpFile
:: ReplState -> String
loadPaths
:: ReplState -> [String]
writeVerboseInfo
:: ReplState -> Int -> String -> IO ()
Show an info message for a given verbosity level