base

Full standard library replacement for OCaml
IN THIS PACKAGE
type 'a t
val binary_search_segmented : ?pos:int -> ?len:int -> 'a t -> segment_of:( 'a -> [ `Left | `Right ] ) -> [ `Last_on_left | `First_on_right ] -> int option