Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Type-indexed Braun heaps.
Documentation
A Braun heap. Somewhat based on this implementation, but with a different strategy for maintaining invariants.
A braun tree is one where every left branch has at most one more element than the right branch.