Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class (Effect p, PatchInspect (PrimOf p)) => Conflict p where Source #
resolveConflicts :: p wX wY -> [[Sealed (FL (PrimOf p) wY)]] Source #
conflictedEffect :: p wX wY -> [IsConflictedPrim (PrimOf p)] Source #
Conflict DummyPatch Source # | |
(CommuteNoConflicts p, Conflict p) => Conflict (RL p) Source # | |
(CommuteNoConflicts p, Conflict p) => Conflict (FL p) Source # | |
(CommuteNoConflicts p, Conflict p) => Conflict (Named p) Source # | |
Conflict p => Conflict (Suspended p) Source # | |
PrimPatch prim => Conflict (RepoPatchV2 prim) Source # | |
(PrimPatchBase p, Invert p, Effect p, FromPrim p, Merge p, Conflict p, CommuteNoConflicts p) => Conflict (RebaseChange p) Source # | |
(PrimPatchBase p, FromPrim p, Conflict p, CommuteNoConflicts p, Invert p) => Conflict (RebaseSelect p) Source # | |
(CommuteNoConflicts p, Conflict p) => Conflict (WrappedNamed rt p) Source # | |
class CommuteNoConflicts p where Source #
commuteNoConflicts :: (p :> p) wX wY -> Maybe ((p :> p) wX wY) Source #
If commuteNoConflicts
x :> y
succeeds, we know that that x
commutes
past y
without any conflicts. This function is useful for patch types
for which commute
is defined to always succeed; so we need some way to
pick out the specific cases where commutation succeeds without any conflicts.
CommuteNoConflicts DummyPatch Source # | |
CommuteNoConflicts p => CommuteNoConflicts (RL p) Source # | |
CommuteNoConflicts p => CommuteNoConflicts (FL p) Source # | |
PrimPatch prim => CommuteNoConflicts (RepoPatchV2 prim) Source # | |
CommuteNoConflicts (RebaseChange p) Source # | |
listConflictedFiles :: Conflict p => p wX wY -> [FilePath] Source #
data IsConflictedPrim prim where Source #
IsC :: !ConflictState -> !(prim wX wY) -> IsConflictedPrim prim |
Show2 prim => Show (IsConflictedPrim prim) Source # | |
data ConflictState Source #