Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
imapMaybe :: (Storable a, Storable b) => (Int -> a -> Maybe b) -> Vector a -> Vector brebase Rebase.Data.Vector.Storable No documentation available.
-
rebase Rebase.Data.Vector.Storable No documentation available.
imapMaybe :: (Unbox a, Unbox b) => (Int -> a -> Maybe b) -> Vector a -> Vector brebase Rebase.Data.Vector.Unboxed No documentation available.
imapMaybeM :: (Monad m, Unbox a, Unbox b) => (Int -> a -> m (Maybe b)) -> Vector a -> m (Vector b)rebase Rebase.Data.Vector.Unboxed No documentation available.
imapMaybe :: (Int -> a -> Maybe b) -> NonEmptyVector a -> Vector bnonempty-vector Data.Vector.NonEmpty O(n) Drop elements when predicate, applied to index and value, returns Nothing If no elements satisfy the predicate, the resulting vector may be empty.
>>> imapMaybe (\i a -> if a == 2 || i == 2 then Nothing else Just a) (unsafeFromList [1..3]) [1]
setMapMaybe :: Ord b => (a -> Maybe b) -> Set a -> Set bcabal-debian Debian.Debianize.Prelude No documentation available.
-
monoidal-functors Data.Bifunctor.Monoidal.Specialized No documentation available.
checkMapMaybe :: HasCallStack => (a -> Maybe b) -> Parser a -> Parser bopt-env-conf OptEnvConf Like checkMapEither but without a helpful error message. Prefer checkMapEither.
checkMapMaybe :: HasCallStack => (a -> Maybe b) -> Parser a -> Parser bopt-env-conf OptEnvConf Like checkMapEither but without a helpful error message. Prefer checkMapEither.
checkMapMaybeForgivable :: HasCallStack => (a -> Maybe b) -> Parser a -> Parser bopt-env-conf OptEnvConf Like checkMapMaybe, but allow trying the other side of any alternative if the result is Nothing.