Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

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

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

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

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

    mono-traversable Data.Containers

    Create a map from a single key-value pair.

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

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

    mono-traversable Data.MonoTraversable

    Synonym for ofoldMap

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

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

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

    mono-traversable Data.MonoTraversable

    Map over a monomorphic container

  9. omapM :: (MonoTraversable mono, Applicative m) => (Element mono -> m (Element mono)) -> mono -> m mono

    mono-traversable Data.MonoTraversable

    Map each element of a monomorphic container to a monadic action, evaluate these actions from left to right, and collect the results.

  10. omapM_ :: (MonoFoldable mono, Applicative m) => (Element mono -> m ()) -> mono -> m ()

    mono-traversable Data.MonoTraversable

    Map each element of a monomorphic container to a monadic action, evaluate these actions from left to right, and ignore the results.

Page 487 of many | Previous | Next