Module Ocamlformat_stdlib.Binary_search

val binary_search_segmented : ?pos:int -> ?len:int -> 't -> length:('t -> int) -> get:('t -> int -> 'elt) -> segment_of:('elt -> [ `Left | `Right ]) -> [ `First_on_right | `Last_on_left ] -> int option