Hoogle Search
Within LTS Haskell 24.22 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
bluefin Bluefin.Eff type (:&) :: Effects -> Effects -> Effects
Union of effects (
<&&> ) :: Applicative a => a Bool -> a Bool -> a Boolclassy-prelude-yesod ClassyPrelude.Yesod && lifted to an Applicative.
(
<&> ) :: Functor f => f a -> (a -> b) -> f bclassy-prelude-yesod ClassyPrelude.Yesod Flipped version of <$>.
(<&>) = flip fmap
Examples
Apply (+1) to a list, a Just and a Right:>>> Just 2 <&> (+1) Just 3
>>> [1,2,3] <&> (+1) [2,3,4]
>>> Right 3 <&> (+1) Right 4
-
composition-extra Data.Functor.Syntax No documentation available.
-
composition-extra Data.Functor.Syntax No documentation available.
(
<&&&> ) :: (Functor f0, Functor f1, Functor f2) => f2 (f1 (f0 a)) -> (a -> b) -> f2 (f1 (f0 b))composition-extra Data.Functor.Syntax No documentation available.
(
<&&> ) :: (Functor f0, Functor f1) => f1 (f0 a) -> (a -> b) -> f1 (f0 b)composition-extra Data.Functor.Syntax No documentation available.
(
<&> ) :: Functor f => f a -> (a -> b) -> f bcomposition-prelude Control.Composition Flipped version of <$>.
(<&>) = flip fmap
Examples
Apply (+1) to a list, a Just and a Right:>>> Just 2 <&> (+1) Just 3
>>> [1,2,3] <&> (+1) [2,3,4]
>>> Right 3 <&> (+1) Right 4
(
<&&> ) :: Applicative f => f Bool -> f Bool -> f Boolcontrol-bool Control.Bool A lifted (&&).
(
<&=> ) :: Monad m => m Bool -> m Bool -> m Boolcontrol-bool Control.Bool A lifted (&&), but short-circuited.