attoparsec-run: Conveniently run Attoparsec parsers
This package fixes a number of problems with the API that
Attoparsec provides for running parsers. The difficulties stem from
the that that Attoparsec's IResult
type encompasses three situations:
When parsing has succeeded, when parsing has failed, and when parsing
is awaiting further input. This is insufficient to describe situations
in which we know we are dealing with a subset of these three cases.
We address this by introducing two smaller types: FinalResult
and
ParseError
.
[Skip to Readme]
Downloads
- attoparsec-run-0.0.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.0.0.0, 0.0.1.0, 0.0.2.0 |
---|---|
Change log | changelog.md |
Dependencies | attoparsec (>=0.14.4 && <0.15), base (>=4.14 && <4.18), bytestring (>=0.10.12 && <0.12), text (>=1.2.4 && <1.3 || >=2.0 && <2.1) [details] |
License | Apache-2.0 |
Author | Chris Martin |
Maintainer | Chris Martin, Julie Moronuki |
Category | Parsing |
Home page | https://github.com/typeclasses/attoparsec-run |
Bug tracker | https://github.com/typeclasses/attoparsec-run/issues |
Source repo | head: git clone git://github.com/typeclasses/attoparsec-run.git |
Uploaded | by chris_martin at 2023-01-09T20:28:36Z |
Distributions | LTSHaskell:0.0.2.0, NixOS:0.0.2.0 |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 295 total (10 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2023-01-09 [all 1 reports] |