Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class (Apply p, Commute p, Invert p) => Patchy p
- class Apply p where
- type ApplyState p :: (* -> *) -> *
- class Commute p where
- class Invert p where
- class PatchInspect p where
- class ReadPatch p where
- showPatch :: ShowPatchBasic p => p wX wY -> Doc
- class ShowPatchBasic p => ShowPatch p where
Documentation
class (Apply p, Commute p, Invert p) => Patchy p Source #
Patchy DummyPatch Source # | |
Apply p => Patchy (RebaseName p) Source # | |
PrimPatch prim => Patchy (RepoPatchV2 prim) Source # | |
(PrimPatchBase p, Apply p, (~) ((* -> *) -> *) (ApplyState p) (ApplyState (PrimOf p)), Invert p) => Patchy (RebaseChange p) Source # | |
(PrimPatchBase p, PatchListFormat p, Conflict p, FromPrim p, Effect p, CommuteNoConflicts p, IsHunk p, Patchy p, (~) ((* -> *) -> *) (ApplyState p) (ApplyState (PrimOf p))) => Patchy (RebaseSelect p) Source # | |
(Patchy p, (~) ((* -> *) -> *) (ApplyState p) Tree) => Patchy (PatchInfoAnd rt p) Source # | |
apply :: ApplyMonad (ApplyState p) m => p wX wY -> m () Source #
Apply DummyPatch Source # | |
Apply p => Apply (RL p) Source # | |
Apply p => Apply (FL p) Source # | |
Apply p => Apply (Named p) Source # | |
Apply p => Apply (RebaseName p) Source # | |
(PrimPatchBase p, Apply p, (~) ((* -> *) -> *) (ApplyState p) (ApplyState (PrimOf p))) => Apply (RebaseFixup p) Source # | |
Apply p => Apply (Suspended p) Source # | |
PrimPatch prim => Apply (RepoPatchV2 prim) Source # | |
(PrimPatchBase p, Invert p, Apply p, (~) ((* -> *) -> *) (ApplyState p) (ApplyState (PrimOf p))) => Apply (RebaseChange p) Source # | |
(PrimPatchBase p, Invert p, Apply p, (~) ((* -> *) -> *) (ApplyState p) (ApplyState (PrimOf p))) => Apply (RebaseSelect p) Source # | |
Apply p => Apply (WrappedNamed rt p) Source # | |
Apply p => Apply (PatchInfoAnd rt p) Source # | |
class Commute p where Source #
Commute represents things that can be (possibly) commuted.
Commute DummyPatch Source # | |
Commute p => Commute (RL p) Source # | |
Commute p => Commute (FL p) Source # | |
Commute p => Commute (Named p) Source # | |
Commute (RebaseName p) Source # | |
PrimPatchBase p => Commute (RebaseFixup p) Source # | |
PrimPatch prim => Commute (RepoPatchV2 prim) Source # | |
Commute p => Commute (LabelledPatch p) Source # | |
Commute (RebaseChange p) Source # | |
(PrimPatchBase p, FromPrim p, Effect p, Commute p, Invert p) => Commute (RebaseSelect p) Source # | |
Commute p => Commute (WrappedNamed rt p) Source # | |
Commute p => Commute (PatchInfoAnd rt p) Source # | |
Invert Prim Source # | |
Invert Prim Source # | |
Invert DummyPatch Source # | |
Invert p => Invert (RL p) Source # | |
Invert p => Invert (FL p) Source # | |
Invert p => Invert (Named p) Source # | |
Invert (RebaseName p) Source # | |
Invert (PrimOf p) => Invert (RebaseFixup p) Source # | |
Invert prim => Invert (RepoPatchV2 prim) Source # | |
Invert p => Invert (LabelledPatch p) Source # | |
Invert (RebaseChange p) Source # | |
Invert p => Invert (RebaseSelect p) Source # | |
Invert p => Invert (WrappedNamed rt p) Source # | |
Invert p => Invert (PatchInfoAnd rt p) Source # | |
class PatchInspect p where Source #
listTouchedFiles :: p wX wY -> [FilePath] Source #
hunkMatches :: (ByteString -> Bool) -> p wX wY -> Bool Source #
PatchInspect Prim Source # | |
PatchInspect Prim Source # | |
PatchInspect DummyPatch Source # | |
PatchInspect p => PatchInspect (RL p) Source # | |
PatchInspect p => PatchInspect (FL p) Source # | |
PatchInspect p => PatchInspect (Named p) Source # | |
PatchInspect (RebaseName p) Source # | |
PatchInspect (PrimOf p) => PatchInspect (RebaseFixup p) Source # | |
(PrimPatchBase p, PatchInspect p) => PatchInspect (RebaseItem p) Source # | |
(PrimPatchBase p, PatchInspect p) => PatchInspect (Suspended p) Source # | |
PatchInspect prim => PatchInspect (RepoPatchV2 prim) Source # | |
PatchInspect p => PatchInspect (LabelledPatch p) Source # | |
(PrimPatchBase p, PatchInspect p) => PatchInspect (RebaseChange p) Source # | |
(PrimPatchBase p, PatchInspect p) => PatchInspect (RebaseSelect p) Source # | |
PatchInspect p => PatchInspect (WrappedNamed rt p) Source # | |
PatchInspect p => PatchInspect (PatchInfoAnd rt p) Source # | |
class ReadPatch p where Source #
readPatch' :: ParserM m => m (Sealed (p wX)) Source #
ReadPatch DummyPatch Source # | |
(ReadPatch p, PatchListFormat p) => ReadPatch (RL p) Source # | |
(ReadPatch p, PatchListFormat p) => ReadPatch (FL p) Source # | |
ReadPatch p => ReadPatch (Bracketed p) Source # | |
(ReadPatch p, PatchListFormat p) => ReadPatch (Named p) Source # | |
ReadPatch (RebaseName p) Source # | |
(PrimPatchBase p, PatchListFormat p, ReadPatch p) => ReadPatch (RebaseItem p) Source # | |
(PrimPatchBase p, PatchListFormat p, ReadPatch p) => ReadPatch (Suspended p) Source # | |
PrimPatch prim => ReadPatch (RepoPatchV2 prim) Source # | |
ReadPatch (RebaseChange p) Source # | |
ReadPatch p => ReadPatch (RebaseSelect p) Source # | |
(ReadPatch p, PrimPatchBase p, FromPrim p, Effect p, PatchListFormat p, IsRepoType rt) => ReadPatch (WrappedNamed rt p) Source # | |
(ReadPatch p, PatchListFormat p, PrimPatchBase p, Effect p, FromPrim p, IsRepoType rt) => ReadPatch (PatchInfoAnd rt p) Source # | |
showPatch :: ShowPatchBasic p => p wX wY -> Doc Source #
class ShowPatchBasic p => ShowPatch p where Source #
showNicely :: p wX wY -> Doc Source #
showContextPatch :: (Monad m, ApplyMonad (ApplyState p) m) => p wX wY -> m Doc Source #
showContextPatch is used to add context to a patch, as diff -u does. Thus, it differs from showPatch only for hunks. It is used for instance before putting it into a bundle. As this unified context is not included in patch representation, this requires access to the tree.
description :: p wX wY -> Doc Source #
summary :: p wX wY -> Doc Source #
summaryFL :: FL p wX wY -> Doc Source #