parsec-class-1.0.1.0: parsec-class.cabal
name: parsec-class
version: 1.0.1.0
synopsis: Class of types that can be constructed from their text representation
description: This library provides the type class 'HasParser' as a dual to 'Pretty'.
Instances of this class provide a parser than can be used to construct the
type from its text representation.
license: MIT
license-file: LICENSE
author: Peter Simons
maintainer: simons@cryp.to
tested-with: GHC == 8.2.2, GHC == 8.4.4, GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.7
GHC == 9.0.2, GHC == 9.2.8, GHC == 9.4.8, GHC == 9.6.4, GHC == 9.8.1
category: Text
homepage: https://github.com/peti/parsec-class
bug-reports: https://github.com/peti/parsec-class/issues
build-type: Simple
cabal-version: >= 1.10
source-repository head
type: git
location: https://github.com/peti/parsec-class.git
Flag parsec_error_has_exception_instance
default: True
library
exposed-modules: Text.Parsec.Class
hs-source-dirs: src
build-depends: base >= 4.9 && < 5
default-language: Haskell2010
other-extensions: RankNTypes, FlexibleContexts, CPP
if flag(parsec_error_has_exception_instance)
build-depends: parsec >= 3.1.17.0
else
build-depends: parsec >= 3 && < 3.1.17.0
other-modules: Text.Parsec.Class.Orphans