Hoogle Search
Within LTS Haskell 24.45 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
deleteMapKey :: k -> PatchMapWithPatchingMove k vpatch Data.Patch.MapWithPatchingMove Make a PatchMapWithPatchingMove k v which has the effect of deleting a key in the mapping, equivalent to delete.
insertMapKey :: k -> PatchTarget p -> PatchMapWithPatchingMove k ppatch Data.Patch.MapWithPatchingMove Make a PatchMapWithPatchingMove k p which has the effect of inserting or replacing a value v at the given key k, like insert.
moveMapKey :: (DecidablyEmpty p, Patch p, Ord k) => k -> k -> PatchMapWithPatchingMove k ppatch Data.Patch.MapWithPatchingMove Make a PatchMapWithPatchingMove k p which has the effect of moving the value from the first key k to the second key k, equivalent to:
delete src (maybe map (insert dst) (Map.lookup src map))
nodeInfoMapFrom :: (From k v -> From k v) -> NodeInfo k v -> NodeInfo k vpatch Data.Patch.MapWithPatchingMove nodeInfoMapMFrom :: Functor f => (From k v -> f (From k v)) -> NodeInfo k v -> f (NodeInfo k v)patch Data.Patch.MapWithPatchingMove Change the From value of a NodeInfo, using a Functor (or Applicative, Monad, etc.) action to get the new value
patchMapKey :: DecidablyEmpty p => k -> p -> PatchMapWithPatchingMove k ppatch Data.Patch.MapWithPatchingMove No documentation available.
patchMapWithPatchingMove :: Ord k => Map k (NodeInfo k p) -> Maybe (PatchMapWithPatchingMove k p)patch Data.Patch.MapWithPatchingMove Create a PatchMapWithPatchingMove, validating it
patchMapWithPatchingMoveInsertAll :: Map k (PatchTarget p) -> PatchMapWithPatchingMove k ppatch Data.Patch.MapWithPatchingMove Create a PatchMapWithPatchingMove that inserts everything in the given Map
patchMapWithPatchingMoveNewElements :: PatchMapWithPatchingMove k p -> [PatchTarget p]patch Data.Patch.MapWithPatchingMove Returns all the new elements that will be added to the Map
patchMapWithPatchingMoveNewElementsMap :: PatchMapWithPatchingMove k p -> Map k (PatchTarget p)patch Data.Patch.MapWithPatchingMove Return a Map k v with all the inserts/updates from the given PatchMapWithPatchingMove k v.