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

Safe HaskellNone
LanguageHaskell98

Network.Wreq.Cache.Store

Documentation

data Store k v Source

Instances

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

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

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

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

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

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

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