- 08 Mar, 2019 8 commits
-
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
This was a bug in the `delmin` helper that is used to delete the smallest element of the right tree. It deleted too much.
-
Hans-Peter Deifel authored
This caused erroneous calls to rotateDoubleRight instead of rotateSingleRight, thus disbalancing the tree and possibly failing to pattern match.
-
Hans-Peter Deifel authored
-
Hans-Peter Deifel authored
This is used in the Eq instance and also makes debugging and testing easier.
-
Hans-Peter Deifel authored
This is not strictly required by copar but allows for easier testing.
-
Hans-Peter Deifel authored
This returns the size of the tree, not the actual number of elements (there can be more elements per node) and thus should not be in the public API.
-
Hans-Peter Deifel authored
This is a requirement for its use in copar and also allows for testing, since `shouldBe` from hspec requires those two instances.
-
- 07 Mar, 2019 1 commit
-
-
Hans-Peter Deifel authored
-