A Haskell library for line input in command-line programs.  http://trac.haskell.org/haskeline