pub fn run_repl<F>(config: ReplRunConfig, execute: F) -> Result<ReplRunResult>where F: FnMut(&str, &SharedHistory) -> Result<ReplLineResult>,