memcached-0.2.1: haskell bindings for memcached

Network.Memcache

Documentation

class Memcache a whereSource

Methods

set :: (Key k, Serializable s) => a -> k -> s -> IO BoolSource

replace :: (Key k, Serializable s) => a -> k -> s -> IO BoolSource

add :: (Key k, Serializable s) => a -> k -> s -> IO BoolSource

get :: (Key k, Serializable s) => a -> k -> IO (Maybe s)Source

delete :: Key k => a -> k -> Int -> IO BoolSource

incr :: Key k => a -> k -> Int -> IO (Maybe Int)Source

decr :: Key k => a -> k -> Int -> IO (Maybe Int)Source

Instances