Module
Data.PriorityQueue
- Package
- purescript-priority-queue
- Repository
- f-f/purescript-priority-queue
#Queue Source
newtype Queue a
A priority queue that allows for efficient insertion and removal of elements.
#newMaxQueue Source
newMaxQueue :: forall a. (a -> Number) -> Effect (Queue a)
Create a new priority queue where the element with the largest value
#newMinQueue Source
newMinQueue :: forall a. (a -> Number) -> Effect (Queue a)
Create a new priority queue where the element with the smallest value
- Modules
- Data.
PriorityQueue