ghci-history-parser: parse output of ghci ":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 GHCi.History.Parse.
[Skip to Readme]
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
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
- ghci-history-parser-0.1.0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
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 | 2114 total (2 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] |