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.
-
patch Data.Patch Patch for IntMap which represents insertion or deletion of keys in the mapping. Internally represented by 'IntMap (Maybe a)', where Just means insert/update and Nothing means delete.
PatchIntMap :: IntMap (Maybe a) -> PatchIntMap apatch Data.Patch No documentation available.
-
patch Data.Patch Patch a Map with additions, deletions, and moves. Invariant: If key k1 is coming from From_Move k2, then key k2 should be going to Just k1, and vice versa. There should never be any unpaired From/To keys.
patchIntMapNewElements :: PatchIntMap a -> [a]patch Data.Patch Extract all as inserted/updated by the given PatchIntMap a.
patchIntMapNewElementsMap :: PatchIntMap a -> IntMap apatch Data.Patch Convert the given PatchIntMap a into an IntMap a with all the inserts/updates in the given patch.
patchMapWithMoveNewElements :: PatchMapWithMove k v -> [v]patch Data.Patch Returns all the new elements that will be added to the Map.
patchMapWithMoveNewElementsMap :: PatchMapWithMove k v -> Map k vpatch Data.Patch Return a Map k v with all the inserts/updates from the given PatchMapWithMove k v.
-
patch Data.Patch Map an effectful function Int -> a -> f b over all as in the given PatchIntMap a (that is, all inserts/updates), producing a f (PatchIntMap b).
unPatchDMap :: PatchDMap (k1 :: k -> Type) (v :: k -> Type) -> DMap k1 (ComposeMaybe v)patch Data.Patch No documentation available.
unPatchIntMap :: PatchIntMap a -> IntMap (Maybe a)patch Data.Patch No documentation available.