Asymptotically optimal Brodal/Okasaki heaps.


Version on this page:
LTS Haskell 22.16:0.4
Stackage Nightly 2024-04-12:0.4
Latest on Hackage:0.4

See all snapshots heaps appears in

BSD-3-Clause licensed by Edward A. Kmett
Maintained by Edward A. Kmett
This version can be pinned in stack with:heaps-,1429

Module documentation for

Depends on 1 package(full list with versions):


Build Status

This package provides Brodal/Okasaki heaps. These are asymptotically optimal purely functional heaps.

Contact Information

Contributions and bug reports are welcome!

Please feel free to contact me through github or on the #haskell IRC channel on irc.freenode.net.

-Edward Kmett


  • Haddock fix


  • Build without warnings on GHC 7.10
  • Overload Foldable null and length on GHC 7.10+


  • Explicit nominal role annotation

  • Nicer formatting of the haddocks