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

Safe Haskell | None

Darcs.Patch.Read

# Documentation

class ReadPatch p where

Methods

readPatch' :: ParserM m => m (Sealed (p x))

Instances

ReadPatch Prim |
ReadPatch Prim |
ReadPatch DummyPatch |
(ReadPatch p, PatchListFormat p) => ReadPatch (RL p) |
(ReadPatch p, PatchListFormat p) => ReadPatch (FL p) |
ReadPatch p => ReadPatch (Bracketed p) |
PrimPatch prim => ReadPatch (Patch prim) |
(ReadPatch p, PatchListFormat p) => ReadPatch (Named p) |
(ReadPatch p, PatchListFormat p) => ReadPatch (PatchInfoAnd p) |
PrimPatch prim => ReadPatch (RealPatch prim) |

readPatch :: ReadPatch p => ByteString -> Maybe (Sealed (p x))

readPatchPartial :: ReadPatch p => ByteString -> Maybe (Sealed (p x), ByteString)

bracketedFL :: forall p m x. ParserM m => (forall y. m (Sealed (p y))) -> Char -> Char -> m (Sealed (FL p x))

peekfor :: ParserM m => ByteString -> m a -> m a -> m a

readFileName :: FileNameFormat -> ByteString -> FileName