ghci-history-parser: parse output of ghci ":history" command

[ debug, development---, ghc, library, public-domain ] [ Propose Tags ]

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.

Versions [RSS] [faq],,
Change log
Dependencies base (>=4.6 && <5.0), parsec [details]
License LicenseRef-PublicDomain
Author phlummox
Maintainer phlummox2 at gmail dot com
Category GHC, Debug, Development
Source repo head: git clone
Uploaded by phlummox at 2016-06-24T15:50:13Z
Distributions NixOS:
Downloads 1770 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]



Manual Flags

Automatic Flags

Use the Parsec parser library


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees