Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

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

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

    mono-traversable Data.Containers

    Insert a key-value pair into a map.

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

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

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

    mono-traversable Data.Containers

    Apply a function over every key of a pair and run unionsWith over the results.

  5. singletonMap :: IsMap map => ContainerKey map -> MapValue map -> map

    mono-traversable Data.Containers

    Create a map from a single key-value pair.

  6. updateMap :: IsMap map => (MapValue map -> Maybe (MapValue map)) -> ContainerKey map -> map -> map

    mono-traversable Data.Containers

    Apply a function to the value of a given key. If the function returns Nothing, this deletes the key-value pair. Returns the input map when the key-value pair does not exist.

  7. oconcatMap :: (MonoFoldable mono, Monoid m) => (Element mono -> m) -> mono -> m

    mono-traversable Data.MonoTraversable

    Synonym for ofoldMap

  8. ofoldMap :: (MonoFoldable mono, Monoid m) => (Element mono -> m) -> mono -> m

    mono-traversable Data.MonoTraversable

    Map each element of a monomorphic container to a Monoid and combine the results.

  9. ofoldMap1Ex :: (MonoFoldable mono, Semigroup m) => (Element mono -> m) -> mono -> m

    mono-traversable Data.MonoTraversable

    Map each element of a monomorphic container to a semigroup, and combine the results. Note: this is a partial function. On an empty MonoFoldable, it will throw an exception. See ofoldMap1 from Data.NonNull for a total version of this function.

  10. omap :: MonoFunctor mono => (Element mono -> Element mono) -> mono -> mono

    mono-traversable Data.MonoTraversable

    Map over a monomorphic container

Page 486 of many | Previous | Next