cabal-version: 3.0 name: attoparsec-run version: 0.0.2.0 synopsis: Conveniently run Attoparsec parsers category: Parsing description: 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@. license: Apache-2.0 license-file: license.txt author: Chris Martin maintainer: Chris Martin, Julie Moronuki homepage: https://github.com/typeclasses/attoparsec-run bug-Reports: https://github.com/typeclasses/attoparsec-run/issues extra-source-files: *.md source-repository head type: git location: git://github.com/typeclasses/attoparsec-run.git common base default-language: Haskell2010 default-extensions: FlexibleContexts ghc-options: -Wall build-depends: , attoparsec ^>= 0.14.4 , base ^>= 4.14 || ^>= 4.15 || ^>= 4.16 || ^>= 4.17 || ^>= 4.18 , bytestring ^>= 0.10.12 || ^>= 0.11 , mtl ^>= 2.2.2 || ^>= 2.3 , text ^>= 1.2.4 || ^>= 2.0 library import: base hs-source-dirs: library exposed-modules: Data.Attoparsec.Run Data.Attoparsec.ByteString.Run Data.Attoparsec.Text.Run test-suite test-attoparsec-run import: base default-extensions: OverloadedStrings hs-source-dirs: test type: exitcode-stdio-1.0 main-is: Main.hs build-depends: attoparsec-run , hspec ^>= 2.8.5 || ^>= 2.9 || ^>= 2.10