The ghci-history-parser package

[Tags:library, public-domain, test]

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]

Properties

Versions 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 PublicDomain
Author phlummox
Maintainer phlummox2 at gmail dot com
Category GHC, Debug, Development
Source repository head: git clone https://github.com/phlummox/ghci-history-parser.git
Uploaded Thu Jul 14 00:39:33 UTC 2016 by phlummox
Distributions NixOS:0.1.0.2
Downloads 118 total (12 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Flags

NameDescriptionDefaultType
use_parsecUse the Parsec parser libraryEnabledAutomatic

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

Readme for ghci-history-parser

Readme for ghci-history-parser-0.1.0.2

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.