queuelike-1.0.7: A library of queuelike data structures, both functional and stateful.

Data.MQueue.Heap

Description

Array-based implementation of an entirely traditional binary heap.

Documentation

data Heap s e Source

Instances

(StateThread m ~ s, Monad m, MonadST m, Ord e) => MQueue (Heap s e) m 

getSize :: (Monad m, MonadST m, StateThread m ~ s) => Heap s e -> m IntSource