darcs-2.12.5: a distributed, interactive, smart revision control system

Safe Haskell | None
Language | Haskell2010

Darcs.Patch.Read

# Documentation

class ReadPatch p where #

Minimal complete definition

readPatch'

Methods

readPatch' :: ParserM m => m (Sealed (p wX)) #

Instances

ReadPatch DummyPatch # |
Methods readPatch' :: ParserM m => m (Sealed (DummyPatch wX)) #
(ReadPatch p, PatchListFormat p) => ReadPatch (RL p) # |
Methods readPatch' :: ParserM m => m (Sealed (RL p wX)) #
(ReadPatch p, PatchListFormat p) => ReadPatch (FL p) # |
Methods readPatch' :: ParserM m => m (Sealed (FL p wX)) #
ReadPatch p => ReadPatch (Bracketed p) # |
Methods readPatch' :: ParserM m => m (Sealed (Bracketed p wX)) #
(ReadPatch p, PatchListFormat p) => ReadPatch (Named p) # |
Methods readPatch' :: ParserM m => m (Sealed (Named p wX)) #
ReadPatch (RebaseName p) # |
Methods readPatch' :: ParserM m => m (Sealed (RebaseName p wX)) #
(PrimPatchBase p, PatchListFormat p, ReadPatch p) => ReadPatch (RebaseItem p) # |
Methods readPatch' :: ParserM m => m (Sealed (RebaseItem p wX)) #
(PrimPatchBase p, PatchListFormat p, ReadPatch p) => ReadPatch (Suspended p) # |
Methods readPatch' :: ParserM m => m (Sealed (Suspended p wX)) #
PrimPatch prim => ReadPatch (RepoPatchV2 prim) # |
Methods readPatch' :: ParserM m => m (Sealed (RepoPatchV2 prim wX)) #
ReadPatch (RebaseChange p) # |
Methods readPatch' :: ParserM m => m (Sealed (RebaseChange p wX)) #
ReadPatch p => ReadPatch (RebaseSelect p) # |
Methods readPatch' :: ParserM m => m (Sealed (RebaseSelect p wX)) #
(ReadPatch p, PrimPatchBase p, FromPrim p, Effect p, PatchListFormat p, IsRepoType rt) => ReadPatch (WrappedNamed rt p) # |
Methods readPatch' :: ParserM m => m (Sealed (WrappedNamed rt p wX)) #
(ReadPatch p, PatchListFormat p, PrimPatchBase p, Effect p, FromPrim p, IsRepoType rt) => ReadPatch (PatchInfoAnd rt p) # |
Methods readPatch' :: ParserM m => m (Sealed (PatchInfoAnd rt 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 #