Hoogle Search

Within LTS Haskell 24.18 (ghc-9.10.3)

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

  1. mapMaybe :: Fractional prob => (a -> Maybe b) -> T prob a -> T prob b

    probability Numeric.Probability.Distribution

    No documentation available.

  2. mapMaybe :: forall s k a b . (a -> Maybe b) -> HashMap s k a -> SomeHashMapWith (SupersetProof 'Hashed s) k b

    refined-containers Data.HashMap.Refined

    Apply a function to all values in a map and collect only the Just results, returning a potentially smaller map.

  3. mapMaybeWithKey :: (Key s k -> a -> Maybe b) -> HashMap s k a -> SomeHashMapWith (SupersetProof 'Hashed s) k b

    refined-containers Data.HashMap.Refined

    Apply a function to all values in a map, together with their corresponding keys, and collect only the Just results, returning a potentially smaller map.

  4. mapMaybe :: forall s k a b . (a -> Maybe b) -> HashMap s k a -> SomeHashMapWith (SupersetProof 'Hashed s) k b

    refined-containers Data.HashMap.Strict.Refined

    Apply a function to all values in a map and collect only the Just results, returning a potentially smaller map.

  5. mapMaybeWithKey :: (Key s k -> a -> Maybe b) -> HashMap s k a -> SomeHashMapWith (SupersetProof 'Hashed s) k b

    refined-containers Data.HashMap.Strict.Refined

    Apply a function to all values in a map, together with their corresponding keys, and collect only the Just results, returning a potentially smaller map.

  6. mapMaybe :: forall s a b . (a -> Maybe b) -> IntMap s a -> SomeIntMapWith (SupersetProof 'Int s) b

    refined-containers Data.IntMap.Refined

    Apply a function to all values in a map and collect only the Just results, returning a potentially smaller map.

  7. mapMaybeWithKey :: (Key s -> a -> Maybe b) -> IntMap s a -> SomeIntMapWith (SupersetProof 'Int s) b

    refined-containers Data.IntMap.Refined

    Apply a function to all values in a map, together with their corresponding keys, and collect only the Just results, returning a potentially smaller map.

  8. mapMaybe :: forall s a b . (a -> Maybe b) -> IntMap s a -> SomeIntMapWith (SupersetProof 'Int s) b

    refined-containers Data.IntMap.Strict.Refined

    Apply a function to all values in a map and collect only the Just results, returning a potentially smaller map.

  9. mapMaybeWithKey :: (Key s -> a -> Maybe b) -> IntMap s a -> SomeIntMapWith (SupersetProof 'Int s) b

    refined-containers Data.IntMap.Strict.Refined

    Apply a function to all values in a map, together with their corresponding keys, and collect only the Just results, returning a potentially smaller map.

  10. mapMaybe :: forall s k a b . (a -> Maybe b) -> Map s k a -> SomeMapWith (SupersetProof 'Regular s) k b

    refined-containers Data.Map.Refined

    Apply a function to all values in a map and collect only the Just results, returning a potentially smaller map.

Page 62 of many | Previous | Next