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

Safe HaskellNone
LanguageHaskell2010

Darcs.Repository.ApplyPatches

Synopsis

Documentation

applyPatches :: (MonadProgress m, ApplyMonad (ApplyState p) m, Apply p) => FL (PatchInfoAnd rt p) wX wY -> m () Source #

runTolerantly :: TolerantWrapper TolerantIO a -> IO a Source #

Apply patches, emitting warnings if there are any IO errors

runSilently :: TolerantWrapper SilentIO a -> IO a Source #

Apply patches, ignoring all errors

data DefaultIO a Source #

Instances

Monad DefaultIO Source # 

Methods

(>>=) :: DefaultIO a -> (a -> DefaultIO b) -> DefaultIO b #

(>>) :: DefaultIO a -> DefaultIO b -> DefaultIO b #

return :: a -> DefaultIO a #

fail :: String -> DefaultIO a #

Functor DefaultIO Source # 

Methods

fmap :: (a -> b) -> DefaultIO a -> DefaultIO b #

(<$) :: a -> DefaultIO b -> DefaultIO a #

Applicative DefaultIO Source # 

Methods

pure :: a -> DefaultIO a #

(<*>) :: DefaultIO (a -> b) -> DefaultIO a -> DefaultIO b #

liftA2 :: (a -> b -> c) -> DefaultIO a -> DefaultIO b -> DefaultIO c #

(*>) :: DefaultIO a -> DefaultIO b -> DefaultIO b #

(<*) :: DefaultIO a -> DefaultIO b -> DefaultIO a #

MonadProgress DefaultIO Source # 
ApplyMonadTree DefaultIO Source # 
ApplyMonad Tree DefaultIO Source # 
type ApplyMonadBase DefaultIO Source # 

runDefault :: DefaultIO a -> IO a Source #

The default mode of applying patches: fail if the directory is not as we expect