Safe Haskell | None |
---|---|
Language | Haskell2010 |
Internal module. Not intended for public use.
Synopsis
- probIO :: MonadIO m => Double -> m a -> m (Maybe a)
- primKey :: RedisStructure v a b -> a -> ByteString
- unwrap :: MonadRedis m => Redis (Either Reply a) -> m a
- unwrapCursor :: MonadRedis m => (a -> b) -> Redis (Either Reply (Cursor, a)) -> m (Maybe Cursor, b)
- unwrapCreatedBool :: MonadRedis m => Redis (Either Reply Bool) -> m (ActionPerformed Creation)
- unwrapCreated :: MonadRedis m => Redis (Either Reply Integer) -> m (ActionPerformed Creation)
- unwrapDeleted :: MonadRedis m => Redis (Either Reply Integer) -> m (ActionPerformed Deletion)
- ignore :: Functor f => f a -> f ()
- fixEmpty :: (MonadRedis m, Monoid e, Traversable t) => ([b] -> Redis e) -> (a -> b) -> t a -> m e
- fixEmpty' :: (MonadRedis m, Traversable t, Integral i) => ([b] -> Redis i) -> (a -> b) -> t a -> m i
- foldM :: Foldable t => (a -> b) -> t a -> [b]
- decodeMInteger :: Maybe ByteString -> Int64
- readInt :: ByteString -> Int64
- data Int64
- runIdentity :: Identity a -> a
- newtype MSET = MSET {
- runMSET :: DList (ByteString, Maybe ByteString)
- splitWith :: (a -> Either b c) -> [a] -> ([b], [c])
Documentation
primKey :: RedisStructure v a b -> a -> ByteString Source #
unwrapCursor :: MonadRedis m => (a -> b) -> Redis (Either Reply (Cursor, a)) -> m (Maybe Cursor, b) Source #
unwrapCreatedBool :: MonadRedis m => Redis (Either Reply Bool) -> m (ActionPerformed Creation) Source #
unwrapCreated :: MonadRedis m => Redis (Either Reply Integer) -> m (ActionPerformed Creation) Source #
unwrapDeleted :: MonadRedis m => Redis (Either Reply Integer) -> m (ActionPerformed Deletion) Source #
fixEmpty :: (MonadRedis m, Monoid e, Traversable t) => ([b] -> Redis e) -> (a -> b) -> t a -> m e Source #
fixEmpty' :: (MonadRedis m, Traversable t, Integral i) => ([b] -> Redis i) -> (a -> b) -> t a -> m i Source #
decodeMInteger :: Maybe ByteString -> Int64 Source #
readInt :: ByteString -> Int64 Source #
64-bit signed integer type
Instances
runIdentity :: Identity a -> a #
Aggregated mset
query
MSET | |
|