redis-hs: A simple Redis library for Haskell

[ database, library, mit ] [ Propose Tags ]

This package provides access to Redis stores using the Data.ByteString.UTF8 ByteString, for consistent handling of UTF8 encoding. It is a developer pre- release, so it lacks many of the features of the existing redis package (including a monad wrapper, custom state management, and custom concurrency management) but for ordinary tasks, this library makes using Redis very straightforward.

The feature set is incomplete, with a full command set, test coverage, and documentation planned for version 0.1.

[Skip to Readme]
Versions [faq] 0.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
Dependencies base (==4.*), bytestring (>=0.9), network (>=2.2.3), utf8-string (>=0.3.5) [details]
License MIT
Author Will Langstroth <>
Maintainer Will Langstroth <>
Category Database
Home page
Source repo head: git clone
Uploaded by WillLangstroth at Tue Nov 9 15:29:14 UTC 2010
Distributions NixOS:0.1.2
Downloads 3976 total (96 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for redis-hs-0.0.11

[back to package description]


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


cabal install redis-hs


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.