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.
mapMaybe :: Fractional prob => (a -> Maybe b) -> T prob a -> T prob bprobability Numeric.Probability.Distribution No documentation available.
-
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.
-
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.
-
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.
-
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.
mapMaybe :: forall s a b . (a -> Maybe b) -> IntMap s a -> SomeIntMapWith (SupersetProof 'Int s) brefined-containers Data.IntMap.Refined Apply a function to all values in a map and collect only the Just results, returning a potentially smaller map.
mapMaybeWithKey :: (Key s -> a -> Maybe b) -> IntMap s a -> SomeIntMapWith (SupersetProof 'Int s) brefined-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.
mapMaybe :: forall s a b . (a -> Maybe b) -> IntMap s a -> SomeIntMapWith (SupersetProof 'Int s) brefined-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.
mapMaybeWithKey :: (Key s -> a -> Maybe b) -> IntMap s a -> SomeIntMapWith (SupersetProof 'Int s) brefined-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.
-
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.