Hoogle Search

Within LTS Haskell 24.40 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. moveMapKey :: Ord k => k -> k -> PatchMapWithMove k v

    patch Data.Patch.MapWithMove

    Make a PatchMapWithMove k v 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))
    

  2. nodeInfoMapFrom :: (From k v -> From k v) -> NodeInfo k v -> NodeInfo k v

    patch Data.Patch.MapWithMove

    Change the From value of a NodeInfo

  3. nodeInfoMapMFrom :: Functor f => (From k v -> f (From k v)) -> NodeInfo k v -> f (NodeInfo k v)

    patch Data.Patch.MapWithMove

    Change the From value of a NodeInfo, using a Functor (or Applicative, Monad, etc.) action to get the new value

  4. patchMapWithMove :: Ord k => Map k (NodeInfo k v) -> Maybe (PatchMapWithMove k v)

    patch Data.Patch.MapWithMove

    Create a PatchMapWithMove, validating it

  5. patchMapWithMoveInsertAll :: Map k v -> PatchMapWithMove k v

    patch Data.Patch.MapWithMove

    Create a PatchMapWithMove that inserts everything in the given Map

  6. patchMapWithMoveNewElements :: PatchMapWithMove k v -> [v]

    patch Data.Patch.MapWithMove

    Returns all the new elements that will be added to the Map.

  7. patchMapWithMoveNewElementsMap :: PatchMapWithMove k v -> Map k v

    patch Data.Patch.MapWithMove

    Return a Map k v with all the inserts/updates from the given PatchMapWithMove k v.

  8. patchThatChangesAndSortsMapWith :: (Ord k, Ord v) => (v -> v -> Ordering) -> Map k v -> Map k v -> PatchMapWithMove k v

    patch Data.Patch.MapWithMove

    Create a PatchMapWithMove that, if applied to the first Map provided, will produce a Map with the same values as the second Map but with the values sorted with the given ordering function.

  9. patchThatChangesMap :: (Ord k, Ord v) => Map k v -> Map k v -> PatchMapWithMove k v

    patch Data.Patch.MapWithMove

    Create a PatchMapWithMove that, if applied to the first Map provided, will produce the second Map.

  10. patchThatSortsMapWith :: Ord k => (v -> v -> Ordering) -> Map k v -> PatchMapWithMove k v

    patch Data.Patch.MapWithMove

    Create a PatchMapWithMove that, if applied to the given Map, will sort its values using the given ordering function. The set keys of the Map is not changed.

Page 963 of many | Previous | Next