The redis-hs package

[Tags: library, mit]

This package provides access to Redis stores using Data.ByteString.UTF8 for consistent handling of UTF8 encoding. The function set is almost complete.


[Skip to ReadMe]

Properties

Versions0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.1.0, 0.1.1, 0.1.2
Change logNone available
Dependenciesbase (==4.*), bytestring (>=0.9), network (==2.2.1.*), utf8-string (>=0.3.5) [details]
LicenseMIT
AuthorWill Langstroth <will@langstroth.com>
MaintainerWill Langstroth <will@langstroth.com>
CategoryDatabase
Home pagehttp://ohloh.net/p/redis-hs
Source repositoryhead: git clone http://github.com/wlangstroth/redis-hs.git
UploadedThu Nov 25 00:58:04 UTC 2010 by WillLangstroth
DistributionsNixOS:0.1.2
Downloads1381 total (65 in last 30 days)
Votes
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees

Readme for redis-hs-0.1.0

redis-hs

A simple link to Redis in Haskell, emphasizing ease of use, readability of code, documentation and test coverage.

Install

cabal install redis-hs

Use

To test it out, 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).