uni-events-2.2.2.1: uni events
Safe HaskellSafe-Inferred
LanguageHaskell98

Events.FMQueue

Description

FMQueue handles finite maps of delete queues, so that we can implement EqGuard.

Documentation

data Ord key => FMQueue key contents Source #

emptyFMQueue :: Ord key => FMQueue key contents Source #

addFMQueue :: Ord key => FMQueue key contents -> key -> contents -> IO (FMQueue key contents, IO ()) Source #

removeFMQueue :: Ord key => FMQueue key contents -> key -> IO (Maybe (contents, FMQueue key contents), FMQueue key contents) Source #

removeFMQueueAny :: Ord key => FMQueue key contents -> IO (Maybe (key, contents, FMQueue key contents), FMQueue key contents) Source #