Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
xinfoConsumerIdleTime :: XInfoConsumersResponse -> Integerhedis Database.Redis.Sentinel No documentation available.
xinfoConsumerName :: XInfoConsumersResponse -> ByteStringhedis Database.Redis.Sentinel No documentation available.
xinfoConsumerNumPendingMessages :: XInfoConsumersResponse -> Integerhedis Database.Redis.Sentinel No documentation available.
xinfoConsumers :: RedisCtx m f => ByteString -> ByteString -> m (f [XInfoConsumersResponse])hedis Database.Redis.Sentinel No documentation available.
xinfoGroupsNumConsumers :: XInfoGroupsResponse -> Integerhedis Database.Redis.Sentinel No documentation available.
-
hedis Database.Redis.Sentinel No documentation available.
asumMap :: forall b m f a . (Foldable f, Alternative m) => (a -> m b) -> f a -> m brelude Relude.Foldable.Fold Alternative version of asum that takes a function to map over.
>>> asumMap (\x -> if x > 2 then Just x else Nothing) [1..4] Just 3
asum :: (Foldable t, Alternative f) => t (f a) -> f arelude Relude.Foldable.Reexport The sum of a collection of actions using (<|>), generalizing concat. asum is just like msum, but generalised to Alternative.
Examples
Basic usage:>>> asum [Just "Hello", Nothing, Just "World"] Just "Hello"
biasum :: (Bifoldable t, Alternative f) => t (f a) (f a) -> f arelude Relude.Foldable.Reexport The sum of a collection of actions, generalizing biconcat.
Examples
Basic usage:>>> biasum (Nothing, Nothing) Nothing
>>> biasum (Nothing, Just 42) Just 42
>>> biasum (Just 18, Nothing) Just 18
>>> biasum (Just 18, Just 42) Just 18
-
relude Relude.Monoid No documentation available.