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.
A simple Redis driver in Haskell using Data.ByteString.UTF8 for consistent UTF8 handling.
cabal install redis-hs
Make sure to include
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
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).