redis-hs

A simple Redis library for Haskell http://ohloh.net/p/redis-hs

Latest on Hackage:0.1.2

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed and maintained by Will Langstroth

redis-hs

A simple Redis driver in Haskell using Data.ByteString.UTF8 for consistent UTF8 handling.

Install

cabal install redis-hs

Use

Make sure to include

Database.Redis

and try the following:

con <- connect localhost defaultPort
_ <- select con 0
_ <- itemSet con "greek" "ἐστίν"
tester <- itemGet con "greek"
putStrLn $ unwrapReply tester

If you need to see the details of the response, replace unwrapReply with show.

Acknowledgements

Much of the code in this library is inspired by the work of Anders Conbere and Alexander Bogdanov (author of the redis library on Hackage).

Used by 1 package:
comments powered byDisqus