Hoogle Search
Within LTS Haskell 24.26 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
massiv Data.Massiv.Array Map an IO action over an Array. Underlying computation strategy is respected and will be parallelized when requested. Unfortunately no fusion is possible and new array will be create upon each call.
mapIO_ :: forall r ix e a m . (Load r ix e, MonadUnliftIO m) => (e -> m a) -> Array r ix e -> m ()massiv Data.Massiv.Array Similar to mapIO, but ignores the result of mapping action and does not create a resulting array, therefore it is faster. Use this instead of mapIO when result is irrelevant. Most importantly it will follow the iteration logic outlined by the supplied array.
-
massiv Data.Massiv.Array Map a monadic action over an array sequentially.
mapM_ :: (Source r a, Index ix, Monad m) => (a -> m b) -> Array r ix a -> m ()massiv Data.Massiv.Array Map a monadic function over an array sequentially, while discarding the result.
Examples
>>> import Data.Massiv.Array as A >>> rangeStepM Par (Ix1 10) 12 60 >>= A.mapM_ print 10 22 34 46 58
-
massiv Data.Massiv.Array Same as imapWS, but without the index.
-
massiv Data.Massiv.Array.Stencil Map a constructed stencil over an array. Resulting array must be computed in order to be useful.
mappendL :: m -> (m :+: n) -> m :+: nmonoid-extras Data.Monoid.Coproduct Prepend a value from the left monoid.
mappendR :: n -> (m :+: n) -> m :+: nmonoid-extras Data.Monoid.Coproduct Prepend a value from the right monoid.
mapping :: HasMapping s a => Lens' s aopenapi3 Data.OpenApi.Lens No documentation available.
-
operational Control.Monad.Operational Extend a mapping of instructions to a mapping of ProgramT.