Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
optics-core Optics.Mapping The mapping can be used to lift optic through a Functor.
mapping :: Iso s t a b -> Iso (f s) (g t) (f a) (g b) mapping :: Lens s a -> Getter (f s) (f a) mapping :: Getter s a -> Getter (f s) (f a) mapping :: Prism t b -> Review (g t) (g b) mapping :: Review t b -> Review (g t) (g b)
mapped :: Functor f => Setter (f a) (f b) a boptics-core Optics.Setter Create a Setter for a Functor.
over mapped ≡ fmap
-
optics-core Optics.Traversal This generalizes mapAccumL to an arbitrary Traversal.
mapAccumL ≡ mapAccumLOf traverse
mapAccumLOf accumulates State from left to right. -
optics-core Optics.Traversal This generalizes mapAccumR to an arbitrary Traversal.
mapAccumR ≡ mapAccumROf traversed
mapAccumROf accumulates State from right to left. mapRand :: ((a, g) -> (b, g)) -> Rand g a -> Rand g bMonadRandom Control.Monad.Random.Lazy Map both the return value and final generator of a computation using the given function.
mapRandT :: (m (a, g) -> n (b, g)) -> RandT g m a -> RandT g n bMonadRandom Control.Monad.Random.Lazy Map both the return value and final generator of a computation using the given function.
mapRand :: ((a, g) -> (b, g)) -> Rand g a -> Rand g bMonadRandom Control.Monad.Random.Strict Map both the return value and final generator of a computation using the given function.
mapRandT :: (m (a, g) -> n (b, g)) -> RandT g m a -> RandT g n bMonadRandom Control.Monad.Random.Strict Map both the return value and final generator of a computation using the given function.
mapRand :: ((a, g) -> (b, g)) -> Rand g a -> Rand g bMonadRandom Control.Monad.Trans.Random.Lazy Map both the return value and final generator of a computation using the given function.
mapRandT :: (m (a, g) -> n (b, g)) -> RandT g m a -> RandT g n bMonadRandom Control.Monad.Trans.Random.Lazy Map both the return value and final generator of a computation using the given function.