Network.Wreq.Cache.Store
data Store k v Source #
Defined in Network.Wreq.Cache.Store
Methods
showsPrec :: Int -> Store k v -> ShowS #
show :: Store k v -> String #
showList :: [Store k v] -> ShowS #
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 #