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. class (MonoTraversable map, SetContainer map) => IsMap map

    mono-traversable Data.Containers

    Polymorphic typeclass for interacting with different map types

  2. class PolyMap (map :: Type -> Type)

    mono-traversable Data.Containers

    A guaranteed-polymorphic Map, which allows for more polymorphic versions of functions.

  3. adjustMap :: IsMap map => (MapValue map -> MapValue map) -> ContainerKey map -> map -> map

    mono-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.

  4. alterMap :: IsMap map => (Maybe (MapValue map) -> Maybe (MapValue map)) -> ContainerKey map -> map -> map

    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.

  5. deleteMap :: IsMap map => ContainerKey map -> map -> map

    mono-traversable Data.Containers

    Delete a key-value pair of a map using a specified key.

  6. differenceMap :: PolyMap map => map value1 -> map value2 -> map value1

    mono-traversable Data.Containers

    Get the difference between two maps, using the left map's values.

  7. filterMap :: IsMap map => (MapValue map -> Bool) -> map -> map

    mono-traversable Data.Containers

    Filter values in a map.

  8. insertMap :: IsMap map => ContainerKey map -> MapValue map -> map -> map

    mono-traversable Data.Containers

    Insert a key-value pair into a map.

  9. intersectionMap :: PolyMap map => map value1 -> map value2 -> map value1

    mono-traversable Data.Containers

    Get the intersection of two maps, using the left map's values.

  10. intersectionWithMap :: PolyMap map => (value1 -> value2 -> value3) -> map value1 -> map value2 -> map value3

    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.

Page 486 of many | Previous | Next