Cabal-1.18.1.3: A framework for packaging Haskell software

CopyrightJose Iborra 2008
Maintainercabal-devel@haskell.org
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell98

Distribution.ReadE

Contents

Description

Simple parsing with failure

Synopsis

ReadE

newtype ReadE aSource

Parser with simple error reporting

Constructors

ReadE 

Fields

runReadE :: String -> Either ErrorMsg a
 

Instances

failReadE :: ErrorMsg -> ReadE aSource

Projections

readP_to_E :: (String -> ErrorMsg) -> ReadP a a -> ReadE aSource