distributed-process-extras-0.2.1.1: Cloud Haskell Extras

Safe HaskellSafe
LanguageHaskell98

Control.Distributed.Process.Extras.Internal.Queue.PriorityQ

Documentation

newtype PriorityQ k a Source

Constructors

PriorityQ 

Fields

q :: PQueue k a
 

singleton :: Ord k => k -> a -> PriorityQ k a Source

enqueue :: Ord k => k -> v -> PriorityQ k v -> PriorityQ k v Source

dequeue :: Ord k => PriorityQ k v -> Maybe (v, PriorityQ k v) Source

peek :: Ord k => PriorityQ k v -> Maybe v Source