I'm pleased to announce the first release of ghci-haskeline. This
package uses the GHC API to reimplement ghci with the Haskeline
library as a backend. Haskeline is a library for line input in
command-line programs, similar to readline or editline, which is
written in Haskell and thus (hopefully) more easily integrated into
other Haskell programs.