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 :: (Unbox a, Unbox b) => (Int -> a -> Maybe b) -> Vector a -> Vector brio RIO.Vector.Unboxed No documentation available.
imapMaybe :: FilterableWithIndex i t => (i -> a -> Maybe b) -> t a -> t bwitherable Witherable No documentation available.
-
co-log-core Colog.Core.Action cmap for convertions that may fail
cmapMaybeM :: Monad m => (a -> m (Maybe b)) -> LogAction m b -> LogAction m aco-log-core Colog.Core.Action Similar to cmapMaybe but for convertions that may fail inside a monadic context.
-
singletons-base Data.Maybe.Singletons No documentation available.
simapMaybe :: Stream r ix a => (ix -> a -> Maybe b) -> Array r ix a -> Vector DS bmassiv Data.Massiv.Vector Similar to smapMaybe, but map with an index aware function.
Examples
-
massiv Data.Massiv.Vector Similar to smapMaybeM, but map with an index aware function.
Examples
smapMaybe :: Stream r ix a => (a -> Maybe b) -> Array r ix a -> Vector DS bmassiv Data.Massiv.Vector Apply a function to each element of the array, while discarding Nothing and keeping the Maybe result.
Examples
-
massiv Data.Massiv.Vector Similar to smapMaybe, but with the Applicative function. Similar to mapMaybe id $ mapM f arr
Examples
prMapMaybeName :: (a -> Maybe b) -> PeriodicReport a c -> PeriodicReport b chledger-lib Hledger.Reports.ReportTypes Map a function over the row names, possibly discarding some.