Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class Db d where
- parseb :: (Db d, CharParsing p) => p d
Documentation
parseb :: (Db d, CharParsing p) => p d Source #
>>>
parse (parseb <* eof) "test" "b" :: Either ParseError HexDigit
Right HexDigitb
>>>
parse parseb "test" "bxyz" :: Either ParseError HexDigit
Right HexDigitb
>>>
isn't _Right (parse parseb "test" "xyz" :: Either ParseError HexDigit)
True