Hoogle Search

Within LTS Haskell 24.65 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. selDecidedStrictness :: forall k1 t (f :: k1 -> Type) (a :: k1) . Selector s => t s f a -> DecidedStrictness

    protolude Protolude

    The strictness that the compiler inferred for the selector

  2. stimesIdempotent :: Integral b => b -> a -> a

    protolude Protolude

    This is a valid definition of stimes for an idempotent Semigroup. When x <> x = x, this definition should be preferred, because it works in <math> rather than <math>.

  3. stimesIdempotentMonoid :: (Integral b, Monoid a) => b -> a -> a

    protolude Protolude

    This is a valid definition of stimes for an idempotent Monoid. When x <> x = x, this definition should be preferred, because it works in <math> rather than <math>

  4. stimesMonoid :: (Integral b, Monoid a) => b -> a -> a

    protolude Protolude

    This is a valid definition of stimes for a Monoid. Unlike the default definition of stimes, it is defined for 0 and so it should be preferred where possible.

  5. traceId :: Text -> Text

    protolude Protolude.Debug

    Warning: traceId remains in code

  6. traceShowId :: Show a => a -> a

    protolude Protolude.Debug

    Warning: traceShowId remains in code

  7. void :: Functor f => f a -> f ()

    protolude Protolude.Functor

    void value discards or ignores the result of evaluation, such as the return value of an IO action.

    Examples

    Replace the contents of a Maybe Int with unit:
    >>> void Nothing
    Nothing
    
    >>> void (Just 3)
    Just ()
    
    Replace the contents of an Either Int Int with unit, resulting in an Either Int ():
    >>> void (Left 8675309)
    Left 8675309
    
    >>> void (Right 8675309)
    Right ()
    
    Replace every element of a list with unit:
    >>> void [1,2,3]
    [(),(),()]
    
    Replace the second element of a pair with unit:
    >>> void (1,2)
    (1,())
    
    Discard the result of an IO action:
    >>> mapM print [1,2]
    1
    2
    [(),()]
    
    >>> void $ mapM print [1,2]
    1
    2
    

  8. coincidence :: Reflex t => Event t (Event t a) -> Event t a

    reflex Reflex.Class

    Create an Event that will occur whenever the input event is occurring -- and its occurrence value, another Event, is also occurring. You maybe looking for 'switchHold never' instead.

  9. requestingIdentity :: (Requester t m, Response m ~ Identity) => Event t (Request m a) -> m (Event t a)

    reflex Reflex.Requester.Class

    Emit a request whenever the given Event fires, and unwrap the responses before returning them. Response m must be Identity.

  10. module Reflex.Spider

    No documentation available.

Page 876 of many | Previous | Next