wreq-0.4.1.0: An easy-to-use HTTP client library.

Safe HaskellNone
LanguageHaskell98

Network.Wreq.Cache.Store

Documentation

data Store k v

Instances

(Show k, Show v, Ord k, Hashable k) => Show (Store k v) 

empty :: Ord k => Int -> Store k v

insert :: (Ord k, Hashable k) => k -> v -> Store k v -> Store k v

delete :: (Ord k, Hashable k) => k -> Store k v -> Store k v

lookup :: (Ord k, Hashable k) => k -> Store k v -> Maybe (v, Store k v)

fromList :: (Ord k, Hashable k) => Int -> [(k, v)] -> Store k v

toList :: (Ord k, Hashable k) => Store k v -> [(k, v)]