Copyright | Jose Iborra 2008 |
---|---|
License | BSD3 |
Maintainer | cabal-devel@haskell.org |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell98 |
Simple parsing with failure
- newtype ReadE a = ReadE {}
- succeedReadE :: (String -> a) -> ReadE a
- failReadE :: ErrorMsg -> ReadE a
- parseReadE :: ReadE a -> ReadP r a
- readEOrFail :: ReadE a -> String -> a
- readP_to_E :: (String -> ErrorMsg) -> ReadP a a -> ReadE a
ReadE
Parser with simple error reporting
succeedReadE :: (String -> a) -> ReadE a Source
Projections
parseReadE :: ReadE a -> ReadP r a Source
readEOrFail :: ReadE a -> String -> a Source
readP_to_E :: (String -> ErrorMsg) -> ReadP a a -> ReadE a Source