Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class De d where
- parsee :: (De d, CharParsing p) => p d
Documentation
parsee :: (De d, CharParsing p) => p d Source #
>>>
parse (parsee <* eof) "test" "e" :: Either ParseError HexDigit
Right HexDigite
>>>
parse parsee "test" "exyz" :: Either ParseError HexDigit
Right HexDigite
>>>
isn't _Right (parse parsee "test" "xyz" :: Either ParseError HexDigit)
True