The redis package
Redis (http://redis.io) is an open source, BSD licensed, advanced key-value store. It is often referred as a data structure server since keys can contain different data structures, such as strings, hashes, lists, sets and sorted sets.
This library is a Haskell driver for Redis. Note that this library supports the most recent (actually the git one) version of Redis. Most of the functions will work correctly with stable version but not all.
Changes from v0.9:
New commands implemented: echo, linsert, zrevrangebyscore, lpushx and rpushx
blpop and brpop has changed their types: it's now IO (Maybe (s1, s2)) instead of IO (Reply s2). Warning! It's backward incompatible!
New helpers fromRBulk' and fromRMultiBulk' which not only unwraps RBulk and RMulti replies but also (unsafely) unwraps Maybes inside it.
Now it's posible to use Redis renamed commands (config option rename-command). You just have to call renameCommand to make client configuration the same as the server one.
Type of run_multi changed. The second param is now (Redis -> IO a) action instead of list of IO (Reply ()). Warning! It's backward incompatible!
Type of run_cas changed too. The third param is now (Redis -> IO a) action instead of IO (Reply ()). Warning! It's backward incompatible!
Most of the protocol functions is now covered with tests (and all tests are passed with the most recent Redis version). You may run it using something like "runhaskell Test.hs <path-to-your-redis-binary>". *Warning!* Don't do that if you have running redis instance on the default port and host! All data in databases 0 and 1 will be lost!
Fixed issues with connection on OSX and missed exports in Redis module - many thanks to Dan Colish
- No changelog available
|Versions||0.1, 0.2, 0.3, 0.3.1, 0.4, 0.5, 0.5.1, 0.5.2, 0.6, 0.7, 0.7.1, 0.7.2, 0.8, 0.8.1, 0.9, 0.10, 0.10.1, 0.11, 0.12, 0.12.1, 0.13, 0.13.0.1|
|Dependencies||base (<5), bytestring, containers, MonadCatchIO-mtl, mtl, network, old-time, utf8-string|
|Copyright||Copyright (c) 2009-2010 Alexander Bogdanov|
|Author||Alexander Bogdanov <firstname.lastname@example.org>|
|Maintainer||Alexander Bogdanov <email@example.com>|
|Uploaded||Sun Feb 13 16:24:25 UTC 2011 by AlexanderBogdanov|
|Downloads||2168 total (187 in last 30 days)|
|Status||Docs uploaded by user|
Build status unknown [no reports yet]
For package maintainers and hackage trustees