hedis-effectful-1.0.0.0: Adaptation of the hedis library for the effectful ecosystem.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Effectful.Redis

Description

Access to a Redis database via MonadRedis.

Synopsis

Effect

data Redis :: Effect where Source #

Provide the ability to use the MonadRedis instance of Eff.

Constructors

LiftRedis :: Redis a -> Redis m a 

Instances

Instances details
type DispatchOf Redis Source # 
Instance details

Defined in Effectful.Redis

Handler

runRedis :: IOE :> es => Connection -> Eff (Redis : es) a -> Eff es a Source #

Run the Redis effect.

Orphan instances

Redis :> es => MonadRedis (Eff es) Source # 
Instance details

Methods

liftRedis :: Redis a -> Eff es a #