distributed-process-extras-0.2.1.1: Cloud Haskell Extras
Control.Distributed.Process.Extras.Internal.Queue.PriorityQ
newtype PriorityQ k a Source
Constructors
Fields
empty :: Ord k => PriorityQ k v Source
isEmpty :: Ord k => PriorityQ k v -> Bool Source
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