readline is a Haskell binding to the GNU Readline library. It is now available in Fedora. Install it using:

$ sudo yum install ghc-readline-devel

The Readline library provides functions to for line editing, and managing history of commands entered interactively through the command-line. It is Free Software. A simple example of using ghc-readline is demonstrated: