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

Safe HaskellSafe-Inferred
LanguageHaskell98

Network.Wreq.Cache.Store

Documentation

data Store k v Source

Instances

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

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