ghci-history-parser (hackage): I couldn't see a simple parser for the output of the ghci :history command, with few dependencies, so here is one.  If Parsec is installed, this parser will use it, but if not, it will fall back on the parsers in Text.ParserCombinators.ReadP, found in base.  For an example of use, see GHCi.History.Parse.
Keywords: debug|development---|ghc|library|public-domain