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.
(
:&: ) :: forall s (a :: s ~> Type) (fst :: s) . Sing fst -> (a @@ fst) -> Sigma s asingletons Data.Singletons.Sigma No documentation available.
(
<&> ) :: Functor f => f a -> (a -> b) -> f brelude Relude.Functor.Fmap 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
(
<&&> ) :: Selective f => f Bool -> f Bool -> f Boolselective Control.Selective A lifted version of lazy Boolean AND.
(
<&?> ) :: Filterable f => f a -> (a -> Maybe b) -> f bwitherable Witherable Flipped version of <$?>, the Filterable version of <&>. It has the same fixity as <&>.
(<&?>) = flip mapMaybe
(
<& ) :: LogAction m msg -> msg -> m ()co-log-core Colog.Core.Action Operator version of unLogAction. Note that because of the types, something like:
action <& msg1 <& msg2
doesn't make sense. Instead you want:action <& msg1 >> action <& msg2
In addition, because <& has higher precedence than the other operators in this module, the following:f >$< action <& msg
is equivalent to:(f >$< action) <& msg
(
%&& ) :: forall (a :: Bool) (b :: Bool) . Sing a -> Sing b -> Sing (a && b)singletons-base Data.Bool.Singletons Conjunction of singletons
-
singletons-base Data.Function.Singletons No documentation available.
-
singletons-base Data.Functor.Singletons No documentation available.
type family (a1 :: f a)
<&> (a2 :: a ~> b) :: f bsingletons-base Data.Functor.Singletons No documentation available.
data (a6989586621679541705 :: f a)
<&>@#@$$ (b1 :: TyFun a ~> b f b)singletons-base Data.Functor.Singletons No documentation available.