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

Safe HaskellNone
LanguageHaskell2010

Darcs.Patch.Read

Synopsis

Documentation

class ReadPatch p where Source #

This class is used to decode patches from their binary representation.

Minimal complete definition

readPatch'

Methods

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

Instances

ReadPatch Prim Source # 

Methods

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

ReadPatch Prim Source # 

Methods

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

ReadPatch DummyPatch Source # 

Methods

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

(ReadPatch p, PatchListFormat p) => ReadPatch (RL p) Source # 

Methods

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

(ReadPatch p, PatchListFormat p) => ReadPatch (FL p) Source # 

Methods

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

ReadPatch p => ReadPatch (Bracketed p) Source # 

Methods

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

(ReadPatch p, PatchListFormat p) => ReadPatch (Named p) Source # 

Methods

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

ReadPatch (RebaseName p) Source # 

Methods

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

(PrimPatchBase p, PatchListFormat p, ReadPatch p) => ReadPatch (RebaseItem p) Source # 

Methods

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

(PrimPatchBase p, PatchListFormat p, ReadPatch p) => ReadPatch (Suspended p) Source # 

Methods

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

ReadPatch (RebaseChange p) Source # 

Methods

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

ReadPatch (RebaseSelect p) Source # 

Methods

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

PrimPatch prim => ReadPatch (RepoPatchV2 prim) Source # 

Methods

readPatch' :: ParserM m => m (Sealed (RepoPatchV2 prim wX)) Source #

(ReadPatch p, PrimPatchBase p, FromPrim p, Effect p, PatchListFormat p, IsRepoType rt) => ReadPatch (WrappedNamed rt p) Source # 

Methods

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

(ReadPatch p, PatchListFormat p, PrimPatchBase p, Effect p, FromPrim p, IsRepoType rt) => ReadPatch (PatchInfoAnd rt p) Source # 

Methods

readPatch' :: ParserM m => m (Sealed (PatchInfoAnd rt p wX)) 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 #