darcs-2.16.4: 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

Instances details
Monad DefaultIO Source # 
Instance details

Defined in Darcs.Repository.ApplyPatches

Methods

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

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

return :: a -> DefaultIO a #

Functor DefaultIO Source # 
Instance details

Defined in Darcs.Repository.ApplyPatches

Methods

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

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

Applicative DefaultIO Source # 
Instance details

Defined in Darcs.Repository.ApplyPatches

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 # 
Instance details

Defined in Darcs.Repository.ApplyPatches

ApplyMonadTree DefaultIO Source # 
Instance details

Defined in Darcs.Repository.ApplyPatches

ApplyMonad Tree DefaultIO Source # 
Instance details

Defined in Darcs.Repository.ApplyPatches

Associated Types

type ApplyMonadBase DefaultIO :: Type -> Type Source #

type ApplyMonadBase DefaultIO Source # 
Instance details

Defined in Darcs.Repository.ApplyPatches

runDefault :: DefaultIO a -> IO a Source #

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