Database.Redis.Monad.State

redis-0.13: A driver for Redis key-value database

Safe Haskell | None

Database.Redis.Monad.State

Description

This module is mainly an example of posible `WithRedis` implementation

Synopsis

- type RedisM = StateT Redis IO
- runWithRedis :: Redis -> RedisM a -> IO a

# Documentation

type RedisM = StateT Redis IO

Trivial WithRedis instance storing Redis descriptor in StateT

runWithRedis :: Redis -> RedisM a -> IO a