Portability | portable |
---|---|
Maintainer | cabal-devel@haskell.org |
Safe Haskell | Safe-Infered |
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 aSource
Projections
parseReadE :: ReadE a -> ReadP r aSource
readEOrFail :: ReadE a -> String -> aSource
readP_to_E :: (String -> ErrorMsg) -> ReadP a a -> ReadE aSource