Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

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

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

    protolude Protolude.Debug

    Warning: traceShowId remains in code

  2. 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
    

  3. 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.

  4. 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.

  5. module Reflex.Spider

    No documentation available.

  6. type Spider = SpiderTimeline Global

    reflex Reflex.Spider

    The default, global Spider environment

  7. data SpiderHost x a

    reflex Reflex.Spider

    The monad for actions that manipulate a Spider timeline identified by x

  8. data SpiderTimeline (x :: k)

    reflex Reflex.Spider

    Designates the default, global Spider timeline

  9. newSpiderTimeline :: IO (Some SpiderTimelineEnv)

    reflex Reflex.Spider

    Create a new SpiderTimelineEnv

  10. runSpiderHost :: SpiderHost Global a -> IO a

    reflex Reflex.Spider

    Run an action affecting the global Spider timeline; this will be guarded by a mutex for that timeline

Page 628 of many | Previous | Next