Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class ReadPatch p where
- 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.
readPatch' :: ParserM m => m (Sealed (p wX)) Source #
ReadPatch Prim Source # | |
ReadPatch Prim Source # | |
ReadPatch DummyPatch Source # | |
(ReadPatch p, PatchListFormat p) => ReadPatch (RL p) Source # | |
(ReadPatch p, PatchListFormat p) => ReadPatch (FL p) Source # | |
ReadPatch p => ReadPatch (Bracketed p) Source # | |
(ReadPatch p, PatchListFormat p) => ReadPatch (Named p) Source # | |
ReadPatch (RebaseName p) Source # | |
(PrimPatchBase p, PatchListFormat p, ReadPatch p) => ReadPatch (RebaseItem p) Source # | |
(PrimPatchBase p, PatchListFormat p, ReadPatch p) => ReadPatch (Suspended p) Source # | |
ReadPatch (RebaseChange p) Source # | |
ReadPatch (RebaseSelect p) Source # | |
PrimPatch prim => ReadPatch (RepoPatchV2 prim) Source # | |
(ReadPatch p, PrimPatchBase p, FromPrim p, Effect p, PatchListFormat p, IsRepoType rt) => ReadPatch (WrappedNamed rt p) Source # | |
(ReadPatch p, PatchListFormat p, PrimPatchBase p, Effect p, FromPrim p, IsRepoType rt) => ReadPatch (PatchInfoAnd rt p) Source # | |
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 #