Safe Haskell | None |
---|---|
Language | Haskell2010 |
Darcs.Patch.Read
Synopsis
- class ReadPatch p where
- readPatch' :: ParserM m => m (Sealed (p wX))
- readPatch :: ReadPatch p => ByteString -> Maybe (Sealed (p wX))
- readPatchPartial :: ReadPatch p => ByteString -> Maybe (Sealed (p wX), ByteString)
- bracketedFL :: forall p m wX. ParserM m => (forall wY. m (Sealed (p wY))) -> Char -> Char -> m (Sealed (FL p wX))
- peekfor :: ParserM m => ByteString -> m a -> m a -> m a
- readFileName :: FileNameFormat -> ByteString -> FileName
Documentation
class ReadPatch p where Source #
This class is used to decode patches from their binary representation.
Methods
readPatch' :: ParserM m => m (Sealed (p wX)) Source #
Instances
readPatchPartial :: ReadPatch p => ByteString -> Maybe (Sealed (p wX), ByteString) Source #
bracketedFL :: forall p m wX. ParserM m => (forall wY. m (Sealed (p wY))) -> Char -> Char -> m (Sealed (FL p wX)) Source #
peekfor :: ParserM m => ByteString -> m a -> m a -> m a Source #
readFileName :: FileNameFormat -> ByteString -> FileName Source #