Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data RebaseFixup p wX wY where
- PrimFixup :: PrimOf p wX wY -> RebaseFixup p wX wY
- NameFixup :: RebaseName p wX wY -> RebaseFixup p wX wY
- commuteNamedFixup :: (FromPrim p, Effect p, Commute p, Invert p) => (Named p :> RebaseFixup p) wX wY -> Maybe ((FL (RebaseFixup p) :> Named p) wX wY)
- commuteFixupNamed :: (FromPrim p, Effect p, Commute p, Invert p) => (RebaseFixup p :> Named p) wX wY -> Maybe ((Named p :> FL (RebaseFixup p)) wX wY)
- commuteNamedFixups :: (FromPrim p, Effect p, Commute p, Invert p) => (Named p :> FL (RebaseFixup p)) wX wY -> Maybe ((FL (RebaseFixup p) :> Named p) wX wY)
- flToNamesPrims :: PrimPatchBase p => FL (RebaseFixup p) wX wY -> (FL (RebaseName p) :> FL (PrimOf p)) wX wY
- namedToFixups :: Effect p => Named p wX wY -> FL (RebaseFixup p) wX wY
Documentation
data RebaseFixup p wX wY where Source #
A single rebase fixup, needed to ensure that the actual patches being stored in the rebase state have the correct context.
PrimFixup :: PrimOf p wX wY -> RebaseFixup p wX wY | |
NameFixup :: RebaseName p wX wY -> RebaseFixup p wX wY |
Show2 (PrimOf p) => Show2 (RebaseFixup p) Source # | |
MyEq (PrimOf p) => MyEq (RebaseFixup p) Source # | |
PrimPatchBase p => Commute (RebaseFixup p) Source # | |
PatchInspect (PrimOf p) => PatchInspect (RebaseFixup p) Source # | |
Invert (PrimOf p) => Invert (RebaseFixup p) Source # | |
(PrimPatchBase p, Apply p, (~) ((* -> *) -> *) (ApplyState p) (ApplyState (PrimOf p))) => Apply (RebaseFixup p) Source # | |
PrimPatchBase p => PrimPatchBase (RebaseFixup p) Source # | |
Effect (RebaseFixup p) Source # | |
Show2 (PrimOf p) => Show1 (RebaseFixup p wX) Source # | |
Show2 (PrimOf p) => Show (RebaseFixup p wX wY) Source # | |
type ApplyState (RebaseFixup p) Source # | |
type PrimOf (RebaseFixup p) Source # | |
commuteNamedFixup :: (FromPrim p, Effect p, Commute p, Invert p) => (Named p :> RebaseFixup p) wX wY -> Maybe ((FL (RebaseFixup p) :> Named p) wX wY) Source #
commuteFixupNamed :: (FromPrim p, Effect p, Commute p, Invert p) => (RebaseFixup p :> Named p) wX wY -> Maybe ((Named p :> FL (RebaseFixup p)) wX wY) Source #
commuteNamedFixups :: (FromPrim p, Effect p, Commute p, Invert p) => (Named p :> FL (RebaseFixup p)) wX wY -> Maybe ((FL (RebaseFixup p) :> Named p) wX wY) Source #
flToNamesPrims :: PrimPatchBase p => FL (RebaseFixup p) wX wY -> (FL (RebaseName p) :> FL (PrimOf p)) wX wY Source #
Split a sequence of fixups into names and prims
namedToFixups :: Effect p => Named p wX wY -> FL (RebaseFixup p) wX wY Source #