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.
dimap :: Profunctor p => (a -> b) -> (c -> d) -> p b c -> p a dprofunctors Data.Profunctor.Unsafe Map over both arguments at the same time.
dimap f g ≡ lmap f . rmap g
lmap :: Profunctor p => (a -> b) -> p b c -> p a cprofunctors Data.Profunctor.Unsafe Map the first argument contravariantly.
lmap f ≡ dimap f id
rmap :: Profunctor p => (b -> c) -> p a b -> p a cprofunctors Data.Profunctor.Unsafe Map the second argument covariantly.
rmap ≡ dimap id
-
syb Data.Generics.Twins Applicative version
gmapAccumM :: (Data d, Monad m) => (forall e . Data e => a -> e -> (a, m e)) -> a -> d -> (a, m d)syb Data.Generics.Twins gmapM with accumulation
gmapAccumQ :: Data d => (forall e . Data e => a -> e -> (a, q)) -> a -> d -> (a, [q])syb Data.Generics.Twins gmapQ with accumulation
-
syb Data.Generics.Twins gmapQl with accumulation
-
syb Data.Generics.Twins gmapQr with accumulation
gmapAccumT :: Data d => (forall e . Data e => a -> e -> (a, e)) -> a -> d -> (a, d)syb Data.Generics.Twins gmapT with accumulation
concatMapM :: Monad m => (a -> m [b]) -> [a] -> m [b]extra Control.Monad.Extra A version of concatMap that works with a monadic predicate.