Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
bimap :: forall a b c d (i :: k) . Bifunctor p => (a -> b) -> (c -> d) -> p i a c -> p i b doptics-core Optics.Internal.Bi No documentation available.
-
optics-core Optics.Internal.Bi No documentation available.
imapped__ :: (Mapping p, FunctorWithIndex i f) => Optic__ p j (i -> j) (f a) (f b) a boptics-core Optics.Internal.IxSetter Internal implementation of imapped.
ifoldMap :: (FoldableWithIndex i f, Monoid m) => (i -> a -> m) -> f a -> moptics-core Optics.IxFold Fold a container by mapping value to an arbitrary Monoid with access to the index i. When you don't need access to the index then foldMap is more flexible in what it accepts.
foldMap ≡ ifoldMap . const
ifoldMap' :: (FoldableWithIndex i f, Monoid m) => (i -> a -> m) -> f a -> moptics-core Optics.IxFold A variant of ifoldMap that is strict in the accumulator. When you don't need access to the index then foldMap' is more flexible in what it accepts.
foldMap' ≡ ifoldMap' . const
-
optics-core Optics.IxFold Fold with index via embedding into a monoid.
imap :: FunctorWithIndex i f => (i -> a -> b) -> f a -> f boptics-core Optics.IxSetter Map with access to the index.
imapped :: FunctorWithIndex i f => IxSetter i (f a) (f b) a boptics-core Optics.IxSetter Indexed setter via the FunctorWithIndex class.
iover imapped ≡ imap
-
optics-core Optics.IxTraversal Generalizes mapAccumL to an arbitrary IxTraversal. imapAccumLOf accumulates state from left to right.
mapAccumLOf o ≡ imapAccumLOf o . const
-
optics-core Optics.IxTraversal Generalizes mapAccumR to an arbitrary IxTraversal. imapAccumROf accumulates state from right to left.
mapAccumROf o ≡ imapAccumROf o . const