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.
class (MonoTraversable map, SetContainer map) =>
IsMap mapmono-traversable Data.Containers Polymorphic typeclass for interacting with different map types
class
PolyMap (map :: Type -> Type)mono-traversable Data.Containers A guaranteed-polymorphic Map, which allows for more polymorphic versions of functions.
adjustMap :: IsMap map => (MapValue map -> MapValue map) -> ContainerKey map -> map -> mapmono-traversable Data.Containers Apply a function to the value of a given key. Returns the input map when the key-value pair does not exist.
-
mono-traversable Data.Containers Update/Delete the value of a given key. Applies a function to previous value of a given key, if it results in Nothing delete the key-value pair from the map, otherwise replace the previous value with the new value.
deleteMap :: IsMap map => ContainerKey map -> map -> mapmono-traversable Data.Containers Delete a key-value pair of a map using a specified key.
differenceMap :: PolyMap map => map value1 -> map value2 -> map value1mono-traversable Data.Containers Get the difference between two maps, using the left map's values.
filterMap :: IsMap map => (MapValue map -> Bool) -> map -> mapmono-traversable Data.Containers Filter values in a map.
insertMap :: IsMap map => ContainerKey map -> MapValue map -> map -> mapmono-traversable Data.Containers Insert a key-value pair into a map.
intersectionMap :: PolyMap map => map value1 -> map value2 -> map value1mono-traversable Data.Containers Get the intersection of two maps, using the left map's values.
-
mono-traversable Data.Containers Get the intersection of two maps with a supplied function that takes in the left map's value and the right map's value.