Hoogle Search

Within LTS Haskell 24.3 (ghc-9.10.2)

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

  1. whenJustM :: Monad m => m (Maybe a) -> (a -> m ()) -> m ()

    relude Relude.Monad.Maybe

    Monadic version of whenJust.

    >>> whenJustM (pure Nothing) $ \b -> print (not b)
    
    >>> whenJustM (pure $ Just True) $ \b -> print (not b)
    False
    

  2. hoistMaybe :: forall (m :: Type -> Type) a . Applicative m => Maybe a -> MaybeT m a

    relude Relude.Monad.Trans

    Lift a Maybe to the MaybeT monad

  3. matchSTM :: STM a -> (a -> Process b) -> Match b

    distributed-process Control.Distributed.Process

    Match on an arbitrary STM action. This rather unusaul match primitive allows us to compose arbitrary STM actions with checks against our process' mailbox and/or any typed channel ReceivePorts we may hold. This allows us to process multiple input streams along with our mailbox, in just the same way that matchChan supports checking both the mailbox and an arbitrary set of typed channels in one atomic transaction. Note there are no ordering guarnatees with respect to these disparate input sources.

  4. enqueueSTM :: CQueue a -> a -> STM ()

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

    Variant of enqueue for use in the STM monad.

  5. matchSTM :: STM a -> (a -> Process b) -> Match b

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

    Match on an arbitrary STM action. This rather unusaul match primitive allows us to compose arbitrary STM actions with checks against our process' mailbox and/or any typed channel ReceivePorts we may hold. This allows us to process multiple input streams along with our mailbox, in just the same way that matchChan supports checking both the mailbox and an arbitrary set of typed channels in one atomic transaction. Note there are no ordering guarnatees with respect to these disparate input sources.

  6. receiveSTM :: ReceivePort a -> STM a

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

    No documentation available.

  7. requestMethod :: RequestF body path -> Method

    servant-client-core Servant.Client.Core

    No documentation available.

  8. requestMethod :: RequestF body path -> Method

    servant-client-core Servant.Client.Core.Request

    No documentation available.

  9. ConnectionRequestHostMismatch :: ConnectionRequestResponse

    network-transport-tcp Network.Transport.TCP

    A gave an incorrect host (did not match the host that B observed).

  10. ConnectionRequestHostMismatch :: ConnectionRequestResponse

    network-transport-tcp Network.Transport.TCP.Internal

    A gave an incorrect host (did not match the host that B observed).

Page 52 of many | Previous | Next