wreq-0.5.4.2: An easy-to-use HTTP client library.
Safe HaskellSafe-Inferred
LanguageHaskell98

Network.Wreq.Cache.Store

Documentation

data Store k v Source #

Instances

Instances details
(Show k, Show v, Ord k, Hashable k) => Show (Store k v) Source # 
Instance details

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 #