Is there an easy way to get at the history of REPL input?