@hackage / ghci-history-parser

parse output of ghci ":history" command

Latest0.1.0.2

About

Metadata

  • Last updated , by phlummox
  • License LicenseRef-PublicDomain
  • Categories Development, Debugging
  • Maintained by: phlummox2 at gmail dot com

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 7.10.3

Package Flags

Use the -f option with cabal commands to enable flags

    use_parsec (on by default)

    Use the Parsec parser library

Readme

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.