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.
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
hoistMaybe :: forall (m :: Type -> Type) a . Applicative m => Maybe a -> MaybeT m arelude Relude.Monad.Trans matchSTM :: STM a -> (a -> Process b) -> Match bdistributed-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.
enqueueSTM :: CQueue a -> a -> STM ()distributed-process Control.Distributed.Process.Internal.CQueue Variant of enqueue for use in the STM monad.
matchSTM :: STM a -> (a -> Process b) -> Match bdistributed-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.
receiveSTM :: ReceivePort a -> STM adistributed-process Control.Distributed.Process.Internal.Types No documentation available.
requestMethod :: RequestF body path -> Methodservant-client-core Servant.Client.Core No documentation available.
requestMethod :: RequestF body path -> Methodservant-client-core Servant.Client.Core.Request No documentation available.
ConnectionRequestHostMismatch :: ConnectionRequestResponsenetwork-transport-tcp Network.Transport.TCP A gave an incorrect host (did not match the host that B observed).
ConnectionRequestHostMismatch :: ConnectionRequestResponsenetwork-transport-tcp Network.Transport.TCP.Internal A gave an incorrect host (did not match the host that B observed).