pqueue-mtl-1.0.6: Fully encapsulated monad transformers with queuelike functionality.
Source code
Contents
Index
Data.Queue.ReverseQueue
Description
Generic queue wrapper to transform a min-queue into a max-queue.
Synopsis
newtype
Down
a =
Down
{
unDown
:: a
}
data
ReverseQueue
q e
Documentation
newtype
Down
a
Source
Constructors
Down
unDown
:: a
Instances
Eq
a =>
Eq
(
Down
a)
Ord
a =>
Ord
(
Down
a)
data
ReverseQueue
q e
Source
Wrapper around a generic queue that reverses the ordering on its elements.
Instances
(
QueueKey
(q (
Down
e)) ~
Down
e,
Queuelike
(q (
Down
e))) =>
Queuelike
(
ReverseQueue
q e)
Produced by
Haddock
version 2.4.1