The ghci-history-parser package

[ Tags: 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]

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 181 total (13 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

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


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.