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.

  1. ($<<<<) :: ArrowList a => (c1 -> c2 -> c3 -> c4 -> a b d) -> a b (c1, (c2, (c3, c4))) -> a b d

    hxt Control.Arrow.ArrowList

    version of $< for arrows with 4 extra parameters typical usage

    f $<<<< g1 &&& g2 &&& g3 &&& g4
    

  2. ($!!) :: WNFData a => (a -> b) -> a -> b

    hxt Control.FlatSeq

    No documentation available.

  3. ($$) :: XmlArrow -> XmlTrees -> XmlTrees

    hxt 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

  4. ($=) :: (a -> Bool) -> a -> Bool

    leancheck Test.LeanCheck.Utils.Operators

    See =$

  5. ($!) :: (a -> b) -> a -> b

    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.

  6. ($!!) :: NFData a => (a -> b) -> a -> b

    relude Relude.DeepSeq

    the deep analogue of $!. In the expression f $!! x, x is fully evaluated before the function f is applied to it.

  7. ($>) :: Functor f => f a -> b -> f b

    relude 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")
    

  8. ($$) :: Doc a -> Doc a -> Doc a

    doclayout Text.DocLayout

    a $$ b puts a above b.

  9. ($+$) :: Doc a -> Doc a -> Doc a

    doclayout Text.DocLayout

    a $+$ b puts a above b, with a blank line between.

  10. ($=) :: (HasSetter t a, MonadIO m) => t -> a -> m ()

    StateVar Data.StateVar

    Write a new value into a state variable.

Page 12 of many | Previous | Next