Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
(
$<<<< ) :: ArrowList a => (c1 -> c2 -> c3 -> c4 -> a b d) -> a b (c1, (c2, (c3, c4))) -> a b dhxt Control.Arrow.ArrowList version of $< for arrows with 4 extra parameters typical usage
f $<<<< g1 &&& g2 &&& g3 &&& g4
(
$!! ) :: WNFData a => (a -> b) -> a -> bhxt Control.FlatSeq No documentation available.
(
$$ ) :: XmlArrow -> XmlTrees -> XmlTreeshxt Text.XML.HXT.DTDValidation.TypeDefs infix operator for applying an arrow to a list of trees
- 1.parameter f : the arrow
- 2.parameter ts : the list of trees
- returns : list of results
(
$= ) :: (a -> Bool) -> a -> Boolleancheck Test.LeanCheck.Utils.Operators See =$
-
relude Relude.Base 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.
(
$!! ) :: NFData a => (a -> b) -> a -> brelude Relude.DeepSeq the deep analogue of $!. In the expression f $!! x, x is fully evaluated before the function f is applied to it.
(
$> ) :: Functor f => f a -> b -> f brelude Relude.Functor.Reexport 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")
(
$$ ) :: Doc a -> Doc a -> Doc adoclayout Text.DocLayout a $$ b puts a above b.
(
$+$ ) :: Doc a -> Doc a -> Doc adoclayout Text.DocLayout a $+$ b puts a above b, with a blank line between.
(
$= ) :: (HasSetter t a, MonadIO m) => t -> a -> m ()StateVar Data.StateVar Write a new value into a state variable.