Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
hunkEdit :: Hunk wX wY -> FileContent -> Either String FileContent Source #
data ObjectMap (m :: * -> *) Source #
Instances
MonadThrow m => ApplyMonadTrans ObjectMap m Source # | |
Defined in Darcs.Patch.Prim.FileUUID.Apply runApplyMonad :: ApplyMonadOver ObjectMap m x -> ObjectMap m -> m (x, ObjectMap m) Source # | |
MonadThrow m => ApplyMonad ObjectMap (StateT (ObjectMap m) m) Source # | |
Defined in Darcs.Patch.Prim.FileUUID.Apply readFilePS :: ObjectIdOf ObjectMap -> StateT (ObjectMap m) m ByteString Source # | |
type ApplyMonadOperations ObjectMap Source # | |
Defined in Darcs.Patch.Prim.FileUUID.Apply | |
type ObjectIdOf ObjectMap Source # | |
Defined in Darcs.Patch.Prim.FileUUID.ObjectMap | |
type ApplyMonadOver ObjectMap m Source # | |
Defined in Darcs.Patch.Prim.FileUUID.Apply |
Orphan instances
Apply Prim Source # | |
apply :: ApplyMonad (ApplyState Prim) m => Prim wX wY -> m () Source # unapply :: ApplyMonad (ApplyState Prim) m => Prim wX wY -> m () Source # | |
PrimApply Prim Source # | |
applyPrimFL :: ApplyMonad (ApplyState Prim) m => FL Prim wX wY -> m () Source # | |
RepairToFL Prim Source # | |
applyAndTryToFixFL :: ApplyMonad (ApplyState Prim) m => Prim wX wY -> m (Maybe (String, FL Prim wX wY)) Source # | |
MonadThrow m => ApplyMonadTrans ObjectMap m Source # | |
runApplyMonad :: ApplyMonadOver ObjectMap m x -> ObjectMap m -> m (x, ObjectMap m) Source # | |
MonadThrow m => ApplyMonad ObjectMap (StateT (ObjectMap m) m) Source # | |
readFilePS :: ObjectIdOf ObjectMap -> StateT (ObjectMap m) m ByteString Source # |