Hoogle Search
Within LTS Haskell 24.35 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
imapAccumL :: TraversableWithIndex i t => (i -> s -> a -> (s, b)) -> s -> t a -> (s, t b)lens Control.Lens.Indexed Generalizes mapAccumL to add access to the index. imapAccumL accumulates state from left to right.
mapAccumL ≡ imapAccumL . const
imapAccumR :: TraversableWithIndex i t => (i -> s -> a -> (s, b)) -> s -> t a -> (s, t b)lens Control.Lens.Indexed Generalizes mapAccumR to add access to the index. imapAccumR accumulates state from right to left.
mapAccumR ≡ imapAccumR . const
imapM :: (TraversableWithIndex i t, Monad m) => (i -> a -> m b) -> t a -> m (t b)lens Control.Lens.Indexed Map each element of a structure to a monadic action, evaluate these actions from left to right, and collect the results, with access the index. When you don't need access to the index mapM is more liberal in what it can accept.
mapM ≡ imapM . const
imapM_ :: (FoldableWithIndex i t, Monad m) => (i -> a -> m b) -> t a -> m ()lens Control.Lens.Indexed Run monadic actions for each target of an IndexedFold or IndexedTraversal with access to the index, discarding the results. When you don't need access to the index then mapMOf_ is more flexible in what it accepts.
mapM_ ≡ imapM . const
-
lens Control.Lens.Indexed The IndexedSetter for a FunctorWithIndex. If you don't need access to the index, then mapped is more flexible in what it accepts.
ifmap :: IndexedFunctor w => (s -> t) -> w a b s -> w a b tlens Control.Lens.Internal.Context No documentation available.
reifiedMappend :: ReifiedMonoid a -> a -> a -> alens Control.Lens.Internal.Fold No documentation available.
MagmaFmap :: forall x t i b a . (x -> t) -> Magma i x b a -> Magma i t b alens Control.Lens.Internal.Magma No documentation available.
MagmaPure :: forall t i b a . t -> Magma i t b alens Control.Lens.Internal.Magma No documentation available.
-
lens Control.Lens.Internal.TH No documentation available.