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] 0.1.0.0, 0.1.0.1, 0.1.0.2
Change log ChangeLog.md
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 https://github.com/phlummox/ghci-history-parser
Uploaded by phlummox at 2016-06-24T15:50:13Z
Distributions NixOS:0.1.0.2
Downloads 1708 total (15 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]

Modules

[Index]

Flags

NameDescriptionDefaultType
use_parsec

Use the Parsec parser library

EnabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates