Hoogle Search
Within LTS Haskell 24.19 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
gmapMo :: (Data a, MonadPlus m) => (forall d . Data d => d -> m d) -> a -> m aghc-internal GHC.Internal.Data.Data Transformation of one immediate subterm with success
gmapMp :: (Data a, MonadPlus m) => (forall d . Data d => d -> m d) -> a -> m aghc-internal GHC.Internal.Data.Data Transformation of at least one immediate subterm does not fail
-
massiv Data.Massiv.Array Map an index aware monadic action over an array sequentially.
imapM_ :: (Index ix, Source r a, Monad m) => (ix -> a -> m b) -> Array r ix a -> m ()massiv Data.Massiv.Array Map a monadic index aware function over an array sequentially, while discarding the result.
Examples
>>> import Data.Massiv.Array >>> imapM_ (curry print) $ range Seq (Ix1 10) 15 (0,10) (1,11) (2,12) (3,13) (4,14)
-
massiv Data.Massiv.Vector Traverse a stream vector with a monadic index aware function. Corresponds to: mapM (uncurry f) . imap (,) v
Examples
simapM_ :: forall r ix a b m . (Stream r ix a, Monad m) => (ix -> a -> m b) -> Array r ix a -> m ()massiv Data.Massiv.Vector Traverse a stream vector with a monadic index aware function, while discarding the result
Examples
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
-
massiv Data.Massiv.Vector Traverse a stream vector with a monadic function.
Examples
smapM_ :: forall r ix a b m . (Stream r ix a, Monad m) => (a -> m b) -> Array r ix a -> m ()massiv Data.Massiv.Vector Traverse a stream vector with a monadic function, while discarding the result
Examples