Safe Haskell | None |
---|---|
Language | Haskell2010 |
Miscellaneous git-related attoparsec Parsers
.
Synopsis
- space :: Parser ()
- nullByte :: Parser ()
- lf :: Parser ()
- lt :: Parser ()
- lcHex :: Parser Word8
- eol :: Parser ()
- word32 :: Parser Word32
- word64 :: Parser Word64
- skipLine :: Parser ()
- parseSha1 :: Parser Sha1
- parseSha1Hex :: Parser Sha1
- parseContact :: Parser Contact
- parseDate :: Parser Date
- parseMaybe :: Parser a -> ByteString -> Maybe a
Documentation
parseSha1Hex :: Parser Sha1 Source #
Parse a 40-byte hex SHA into a Sha1
.
parseContact :: Parser Contact Source #
Parse a Contact
.
parseMaybe :: Parser a -> ByteString -> Maybe a Source #
Run a Parser
, giving back Nothing
on failure.