Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

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

  1. withReader :: (r' -> r) -> Reader r a -> Reader r' a

    relude Relude.Monad.Reexport

    Execute a computation in a modified environment (a specialization of withReaderT).

  2. withReaderT :: forall r' r (m :: Type -> Type) a . (r' -> r) -> ReaderT r m a -> ReaderT r' m a

    relude Relude.Monad.Reexport

    Execute a computation in a modified environment (a more general version of local).

  3. etaReaderT :: forall r (m :: Type -> Type) a . ReaderT r m a -> ReaderT r m a

    relude Relude.Monad.Trans

    This function helps with optimizing performance when working with the ReaderT transformer. If you have code like below, that is called in a loop

    step :: Instruction -> ReaderT Config IO Result
    step instruction = case instruction of
    Add -> do stuff ...
    Del -> do stuff ...
    
    you can improve performance of your Haskell applications by using etaReaderT in the following way:
    step :: Instruction -> ReaderT Config IO Result
    step instruction = etaReaderT $ case instruction of
    Add -> do stuff ...
    Del -> do stuff ...
    
    For a detailed explanation, refer to the following blog post:

  4. usingReader :: r -> Reader r a -> a

    relude Relude.Monad.Trans

    Shorter and more readable alias for flip runReader.

    >>> usingReader 42 $ asks (+5)
    47
    

  5. usingReaderT :: r -> ReaderT r m a -> m a

    relude Relude.Monad.Trans

    Shorter and more readable alias for flip runReaderT.

    >>> usingReaderT 42 $ asks (+5)
    47
    

  6. processThread :: LocalProcess -> !ThreadId

    distributed-process Control.Distributed.Process.Internal.Types

    No documentation available.

  7. tryReadTQueue :: TQueue a -> STM (Maybe a)

    distributed-process Control.Distributed.Process.Internal.WeakTQueue

    A version of readTQueue which does not retry. Instead it returns Nothing if no value is available.

  8. mxReady :: MxAgent s MxAction

    distributed-process Control.Distributed.Process.Management

    Continue executing (i.e., receiving and processing messages).

  9. MxAgentReady :: MxAction

    distributed-process Control.Distributed.Process.Management.Internal.Types

    No documentation available.

  10. StatusReadError :: Status

    gi-cairo GI.Cairo.Enums

    No description available in the introspection data.

Page 516 of many | Previous | Next