Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- class FromByteString a where
- parser :: Parser a
- fromByteString :: FromByteString a => ByteString -> Maybe a
- fromByteString' :: FromByteString a => ByteString -> Maybe a
- runParser :: Parser a -> ByteString -> Either String a
- runParser' :: Parser a -> ByteString -> Either String a
Documentation
class FromByteString a where Source #
Parse ByteString
s.
Instances
fromByteString :: FromByteString a => ByteString -> Maybe a Source #
fromByteString' :: FromByteString a => ByteString -> Maybe a Source #
runParser' :: Parser a -> ByteString -> Either String a Source #