I named it "cmp" first, but then it may have been shadowed by the local open of BatOrd. How do you suggest I name it? :)


Edgar Friendly <notifications@github.com> a écrit :
>> @@ -627,6 +627,77 @@ let decorate_fast_sort f xs =
>>      (fun (a, f) -> is_sorted_by f (decorate_fast_sort f a))
>>  *)
>>  
>> +let bisect f arr x =
>
>can `f` be renamed to indicate it's a comparison function (as opposed
>to a general mapping function)?
>
>---
>Reply to this email directly or view it on GitHub:
>https://github.com/ocaml-batteries-team/batteries-included/pull/470/files#r8102310

-- 
Simon