haskeline-repl-0.4.0.0
System.Console.Repl
type Prompt = String Source #
type InputLine = String Source #
type Command a = (String, InputLine -> IO Bool) Source #
defaultCommands :: [Command a] Source #
repl :: Prompt -> (InputLine -> IO a) -> IO () Source #
replWith :: Prompt -> (InputLine -> IO a) -> [Command a] -> IO () Source #
printError :: Show a => a -> IO () Source #