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

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

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]
Tested with ghc ==7.10.3, ghc ==7.6.3
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-07-14T00:39:33Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2112 total (15 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for ghci-history-parser-0.1.0.2

[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.