Cabal-3.8.1.0: A framework for packaging Haskell software
CopyrightJose Iborra 2008
LicenseBSD3
Maintainercabal-devel@haskell.org
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Distribution.ReadE

Description

Simple parsing with failure

Synopsis

ReadE

newtype ReadE a Source #

Parser with simple error reporting

Constructors

ReadE 

Fields

Instances

Instances details
Functor ReadE Source # 
Instance details

Defined in Distribution.ReadE

Methods

fmap :: (a -> b) -> ReadE a -> ReadE b #

(<$) :: a -> ReadE b -> ReadE a #

failReadE :: ErrorMsg -> ReadE a Source #

Projections

parsecToReadE :: (String -> ErrorMsg) -> ParsecParser a -> ReadE a Source #

Parse Errors