Module Binary_searchable.Make

Parameters

module T : Indexable

Signature

See Binary_search.binary_search in binary_search.ml

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

See Binary_search.binary_search_segmented in binary_search.ml