ContentsIndex
Darcs.Patch.Patchy
Documentation
class (Apply p, Commute p, ShowPatch p, ReadPatch p, Invert p) => Patchy p
show/hide Instances
class Apply p where
Methods
apply :: WriteableDirectory m => [DarcsFlag] -> p -> m ()
applyAndTryToFix :: WriteableDirectory m => p -> m (Maybe (String, p))
applyAndTryToFixFL :: WriteableDirectory m => p -> m (Maybe (String, FL p))
show/hide Instances
mapMaybeSnd :: (a -> b) -> Maybe (c, a) -> Maybe (c, b)
class Commute p where
Methods
commute :: (p :> p) -> Maybe (p :> p)
commutex :: (p :< p) -> Maybe (p :< p)
merge :: (p :\/: p) -> p :/\: p
list_touched_files :: p -> [FilePath]
show/hide Instances
class Commute p => ShowPatch p where
Methods
showPatch :: p -> Doc
showNicely :: p -> Doc
showContextPatch :: Slurpy -> p -> Doc
description :: p -> Doc
summary :: p -> Doc
writePatch :: FilePath -> p -> IO ()
gzWritePatch :: FilePath -> p -> IO ()
thing :: p -> String
things :: p -> String
show/hide Instances
class ReadPatch p where
Methods
readPatch' :: ParserM m => Bool -> m (Maybe (Sealed p))
show/hide Instances
class MyEq p => Invert p where
Methods
invert :: p -> p
identity :: p
sloppyIdentity :: p -> EqCheck
show/hide Instances
mergeFL :: Commute p => (p :\/: FL p) -> FL p :/\: p
commuteRLFL :: Commute p => (RL p :> FL p) -> Maybe (FL p :> RL p)
commuteRL :: Commute p => (RL p :> p) -> Maybe (p :> RL p)
commuteFL :: Commute p => (p :> FL p) -> Either (Sealed2 p) (FL p :> p)
bracketedFL :: (ReadPatch p, ParserM m) => Word8 -> Word8 -> m (Maybe (Sealed (FL p)))
peekforw :: ParserM m => Word8 -> m a -> m a -> m a
peekforPS :: ParserM m => ByteString -> m a -> m a -> m a
peekfor :: ParserM m => String -> m a -> m a -> m a
invertFL :: Invert p => FL p -> RL p
invertRL :: Invert p => RL p -> FL p
Produced by Haddock version 2.4.2