Hoogle Search
Within LTS Haskell 24.9 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
classy-prelude-yesod ClassyPrelude.Yesod Continue processing after usage of $$+. Since 0.5.0
(
$$+- ) :: Monad m => SealedConduitT () a m () -> ConduitT a Void m b -> m bclassy-prelude-yesod ClassyPrelude.Yesod Same as $$++ and connectResume, but doesn't include the updated SealedConduitT. NOTE In previous versions, this would cause finalizers to run. Since version 1.3.0, there are no finalizers in conduit. Since 0.5.0
-
classy-prelude-yesod ClassyPrelude.Yesod A synonym for =$= for backwards compatibility. Since 0.4.0
-
classy-prelude-yesod ClassyPrelude.Yesod Left fusion for a sealed source. Since 1.0.16
(
$> ) :: Functor f => f a -> b -> f bclassy-prelude-yesod ClassyPrelude.Yesod Flipped version of <$.
Examples
Replace the contents of a Maybe Int with a constant String:>>> Nothing $> "foo" Nothing
>>> Just 90210 $> "foo" Just "foo"
Replace the contents of an Either Int Int with a constant String, resulting in an Either Int String:>>> Left 8675309 $> "foo" Left 8675309
>>> Right 8675309 $> "foo" Right "foo"
Replace each element of a list with a constant String:>>> [1,2,3] $> "foo" ["foo","foo","foo"]
Replace the second element of a pair with a constant String:>>> (1,2) $> "foo" (1,"foo")
(
$= ) :: Text -> Text -> Refinementclay Clay Filter elements based on the presence of a certain attribute that ends with the specified value.
(
$= ) :: Text -> Text -> Refinementclay Clay.Selector Filter elements based on the presence of a certain attribute that ends with the specified value.
-
constrained-categories Control.Category.Constrained No documentation available.
-
constrained-categories Control.Category.Constrained.Prelude Strict (call-by-value) application operator. It takes a function and an argument, evaluates the argument to weak head normal form (WHNF), then calls the function with that value.
-
constrained-categories Control.Category.Constrained.Prelude No documentation available.