ghci should save history more often
It is very annoying if
ghci crashes (due to using a foreign library wrongly, for example), and then the history is lost. It should be simple to save each line to history before it is being executed.
Maybe a good task for new contributors?