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.


[Skip to Readme]

Flags

Automatic Flags
NameDescriptionDefault
use_parsec

Use the Parsec parser library

Enabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 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.git
Uploaded by phlummox at 2016-06-24T16:47:51Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2046 total (11 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Last success reported on 2016-06-26 [all 4 reports]

Readme for ghci-history-parser-0.1.0.1

[back to package description]

ghci-history-parser

Parse the output of ghci's ":history" command

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 the documentation for the module GHCi.History.Parse.