Copyright | Jose Iborra 2008 |
---|---|
License | BSD3 |
Maintainer | cabal-devel@haskell.org |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Distribution.ReadE
Contents
Description
Simple parsing with failure
Synopsis
- newtype ReadE a = ReadE { }
- succeedReadE :: ( String -> a) -> ReadE a
- failReadE :: ErrorMsg -> ReadE a
- readEOrFail :: ReadE a -> String -> a
- parsecToReadE :: ( String -> ErrorMsg) -> ParsecParser a -> ReadE a
ReadE
Parser with simple error reporting
succeedReadE :: ( String -> a) -> ReadE a Source #
Projections
readEOrFail :: ReadE a -> String -> a Source #
parsecToReadE :: ( String -> ErrorMsg) -> ParsecParser a -> ReadE a Source #