| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Digit.DF
- class DF d where
- parseF :: (DF d, CharParsing p) => p d
Documentation
Minimal complete definition
parseF :: (DF d, CharParsing p) => p d Source #
>>>parse (parseF <* eof) "test" "F" :: Either ParseError HEXDigitRight HEXDigitF
>>>parse parseF "test" "Fxyz" :: Either ParseError HEXDigitRight HEXDigitF
>>>isn't _Right (parse parseF "test" "xyz" :: Either ParseError HEXDigit)True