Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data RepoPatchV1 prim wX wY where
- PP :: prim wX wY -> RepoPatchV1 prim wX wY
- Merger :: FL (RepoPatchV1 prim) wX wY -> RL (RepoPatchV1 prim) wX wB -> RepoPatchV1 prim wC wX -> RepoPatchV1 prim wC wD -> RepoPatchV1 prim wX wY
- Regrem :: FL (RepoPatchV1 prim) wX wY -> RL (RepoPatchV1 prim) wX wB -> RepoPatchV1 prim wC wX -> RepoPatchV1 prim wC wD -> RepoPatchV1 prim wY wX
- isMerger :: RepoPatchV1 prim wA wB -> Bool
- mergerUndo :: RepoPatchV1 prim wX wY -> FL (RepoPatchV1 prim) wX wY
Documentation
data RepoPatchV1 prim wX wY where Source #
The format of a merger is Merger undos unwindings conflicting original
.
undos
= the effect of the merger
unwindings
= TODO: eh?
conflicting
= the patch we conflict with
original
= the patch we really are
PP :: prim wX wY -> RepoPatchV1 prim wX wY | |
Merger :: FL (RepoPatchV1 prim) wX wY -> RL (RepoPatchV1 prim) wX wB -> RepoPatchV1 prim wC wX -> RepoPatchV1 prim wC wD -> RepoPatchV1 prim wX wY | |
Regrem :: FL (RepoPatchV1 prim) wX wY -> RL (RepoPatchV1 prim) wX wB -> RepoPatchV1 prim wC wX -> RepoPatchV1 prim wC wD -> RepoPatchV1 prim wY wX |
Instances
isMerger :: RepoPatchV1 prim wA wB -> Bool Source #
mergerUndo :: RepoPatchV1 prim wX wY -> FL (RepoPatchV1 prim) wX wY Source #