A priority queue where values of type a are annotated with keys of type k.
The queue supports extracting the element with maximum key.
Instances14FoldableWithIndex, FunctorWithIndex, TraversableWithIndex, Functor, Foldable, Traversable, …
Ord k => FoldableWithIndex k (MaxPQueue k)Defined in pqueue-1.5.0.0 · Data.PQueue.Prio.Max.InternalsFunctorWithIndex k (MaxPQueue k)Defined in pqueue-1.5.0.0 · Data.PQueue.Prio.Max.InternalsOrd k => TraversableWithIndex k (MaxPQueue k)Defined in pqueue-1.5.0.0 · Data.PQueue.Prio.Max.InternalsFunctor (MaxPQueue k)Defined in pqueue-1.5.0.0 · Data.PQueue.Prio.Max.InternalsOrd k => Foldable (MaxPQueue k)Defined in pqueue-1.5.0.0 · Data.PQueue.Prio.Max.InternalsOrd k => Traversable (MaxPQueue k)Defined in pqueue-1.5.0.0 · Data.PQueue.Prio.Max.InternalsTraverses in descending order. mapM is strictly accumulating like mapMWithKey.
(Ord k, Eq a) => Eq (MaxPQueue k a)Defined in pqueue-1.5.0.0 · Data.PQueue.Prio.Max.Internals(Data k, Data a, Ord k) => Data (MaxPQueue k a)Defined in pqueue-1.5.0.0 · Data.PQueue.Prio.Max.Internals(Ord k, Ord a) => Ord (MaxPQueue k a)Defined in pqueue-1.5.0.0 · Data.PQueue.Prio.Max.Internals(Read k, Read a) => Read (MaxPQueue k a)Defined in pqueue-1.5.0.0 · Data.PQueue.Prio.Max.Internals(Ord k, Show k, Show a) => Show (MaxPQueue k a)Defined in pqueue-1.5.0.0 · Data.PQueue.Prio.Max.InternalsOrd k => Semigroup (MaxPQueue k a)Defined in pqueue-1.5.0.0 · Data.PQueue.Prio.Max.InternalsOrd k => Monoid (MaxPQueue k a)Defined in pqueue-1.5.0.0 · Data.PQueue.Prio.Max.Internals(NFData k, NFData a) => NFData (MaxPQueue k a)Defined in pqueue-1.5.0.0 · Data.PQueue.Prio.Max.Internals