Module

Data.PQueue.Partial

Package
purescript-pqueue
Repository
nullobject/purescript-pqueue

#head Source

head :: forall a p. Partial => PQueue p a -> Tuple p a

Get the minimal element of a queue.

#tail Source

tail :: forall a p. Partial => PQueue p a -> PQueue p a

Delete the minimal element of a queue.

#init Source

init :: forall a p. Partial => PQueue p a -> PQueue p a

Delete the maximal element of a queue.

#last Source

last :: forall a p. Partial => PQueue p a -> Tuple p a

Get the maximal element of a queue.