ghci-history-parser: parse output of ghci ":history" command
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Warnings:
- Exposed modules use unallocated top-level names: GHCi
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.
Properties
Versions | 0.1.0.0, 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 |
Uploaded | by phlummox at 2016-06-24T15:15:19Z |
Modules
- GHCi
- GHCi.History
- GHCi.History.Parse
- GHCi.History.Parse.Common
- GHCi.History.Parse
- GHCi.History
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.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees