Add Ord Double instance
Add Eq Double instance
Cleanup module imports
Revert "Cleanup module imports"

This reverts commit 9e1b27571f57f395bb1d33dce276e141ec501cd2.
Bump patch-combinators dependency
Relax type constratints on swap (MutableArrays)