net-mqtt-0.8.6.1: An MQTT Protocol Implementation.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Map.Strict.Decaying

Synopsis

Documentation

data Map k a Source #

new :: Ord k => NominalDiffTime -> IO (Map k a) Source #

insert :: Ord k => k -> v -> Map k v -> STM () Source #

delete :: Ord k => k -> Map k v -> STM () Source #

elems :: Map k a -> STM [a] Source #

All visible records.

findWithDefault :: Ord k => v -> k -> Map k v -> STM v Source #

updateLookupWithKey :: Ord k => (k -> a -> Maybe a) -> k -> Map k a -> STM (Maybe a) Source #

Testing Hooks

tick :: Ord k => Map k v -> IO () Source #