Module type Binary_searchable.S

type elt
type t

See Binary_search.binary_search in binary_search.ml

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

See Binary_search.binary_search_segmented in binary_search.ml