In Haskell this is called `bsearch_by` and the other is called `bsearch`. Should we follow that convention?